(main): kludge around lack of context by sending NULL to

krb5_getportbyname


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7837 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-01-29 17:28:22 +00:00
parent 391af793c4
commit 64ac3537cd

View File

@@ -249,7 +249,7 @@ main(int argc, char **argv)
}
if (port == 0) {
#ifdef KRB5
port = krb5_getportbyname (context, "kpop", "tcp", 1109);
port = krb5_getportbyname (NULL, "kpop", "tcp", 1109);
#elif defined(KRB4)
port = k_getportbyname ("kpop", "tcp", 1109);
#else