From: Mark Eichin Date: Thu, 20 Apr 1995 22:18:34 +0000 (+0000) Subject: added missing htons X-Git-Tag: krb5-1.0-beta5~335 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=081e4ceca60554838b3aeb80153647bcb309ac5f;p=krb5.git added missing htons git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5411 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/server/adm_server.c b/src/kadmin/server/adm_server.c index ff7542d27..394fbbfe1 100644 --- a/src/kadmin/server/adm_server.c +++ b/src/kadmin/server/adm_server.c @@ -190,7 +190,7 @@ process_args(context, argc, argv) break; case 'p': - admin_port = atoi(optarg); + admin_port = htons(atoi(optarg)); break; case 'h': /* get help on using adm_server */