From: Kevin Mitchell Date: Thu, 13 Jun 1996 22:38:44 +0000 (+0000) Subject: * ftpd.c (authdata): misplaced braces caused server to not be able to X-Git-Tag: krb5-1.0-beta7~353 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5e1ce981b773a2b783680894535ff87c31f97827;p=krb5.git * ftpd.c (authdata): misplaced braces caused server to not be able to use ftp principle if it was present. Client looks for ftp first, then tries host; ftpd was looking only for host. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8355 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 03ea955d9..798b51dbd 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,9 @@ +Thu Jun 13 18:35:19 1996 Kevin L Mitchell + + * ftpd.c (authdata): misplaced braces caused server to not be able to + use ftp principle if it was present. Client looks for ftp + first, then tries host; ftpd was looking only for host. + Mon Jun 3 16:12:59 1996 Tom Yu * Makefile.in, configure.in: back out previous changes and use diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index a18bfc217..c260325f3 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -1967,7 +1967,7 @@ char *data; if (maj_stat != GSS_S_COMPLETE) continue; found++; - } + /* }*/ if (!found && (maj_stat != GSS_S_COMPLETE)) { @@ -2064,6 +2064,7 @@ char *data; (void) gss_release_cred(&min_stat, &server_creds); return(0); } + } } #endif /* GSSAPI */ /* Other auth types go here ... */