context to krb5_getportbyname

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3315 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-08-31 17:54:35 +00:00
parent 14cf7f3270
commit 023d1960b0
6 changed files with 12 additions and 12 deletions

View File

@@ -581,9 +581,9 @@ main(int argc, char **argv)
if (inetd) {
if (port == 0)
if (do_encrypt)
port = krb5_getportbyname ("ekshell", "tcp", htons(545));
port = krb5_getportbyname (context, "ekshell", "tcp", 545);
else
port = krb5_getportbyname ("kshell", "tcp", htons(544));
port = krb5_getportbyname (context, "kshell", "tcp", 544);
mini_inetd (port);
}