(main): call krb5_getportbyname with the default in host-byte-order
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7680 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -726,7 +726,7 @@ main (int argc, char **argv) | ||||
| 	} | ||||
|     } else { | ||||
| #if defined(KRB5) | ||||
| 	port = krb5_getportbyname(NULL, "kx", "tcp", htons(KX_PORT)); | ||||
| 	port = krb5_getportbyname(NULL, "kx", "tcp", KX_PORT); | ||||
| #elif defined(KRB4) | ||||
| 	port = k_getportbyname ("kx", "tcp", htons(KX_PORT)); | ||||
| #else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund