(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:
@@ -249,7 +249,7 @@ main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
if (port == 0) {
|
if (port == 0) {
|
||||||
#ifdef KRB5
|
#ifdef KRB5
|
||||||
port = krb5_getportbyname (context, "kpop", "tcp", 1109);
|
port = krb5_getportbyname (NULL, "kpop", "tcp", 1109);
|
||||||
#elif defined(KRB4)
|
#elif defined(KRB4)
|
||||||
port = k_getportbyname ("kpop", "tcp", 1109);
|
port = k_getportbyname ("kpop", "tcp", 1109);
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user