(main): don't byte-swap the argument to krb5_getportbyname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6274 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -751,7 +751,7 @@ main(int argc, char **argv)
|
|||||||
#ifdef KRB5
|
#ifdef KRB5
|
||||||
if (ret && use_v5) {
|
if (ret && use_v5) {
|
||||||
if (port == 0)
|
if (port == 0)
|
||||||
port = krb5_getportbyname(NULL, "kx", "tcp", htons(KX_PORT));
|
port = krb5_getportbyname(NULL, "kx", "tcp", KX_PORT);
|
||||||
ret = doit_v5 (host, port, user,
|
ret = doit_v5 (host, port, user,
|
||||||
passive_flag, debug_flag, keepalive_flag, tcp_flag);
|
passive_flag, debug_flag, keepalive_flag, tcp_flag);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user