diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/appl/gssftp/ftpd/ChangeLog | 5 | ||||
| -rw-r--r-- | src/appl/gssftp/ftpd/ftpd.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 9b7f36cf65..47836914ec 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,8 @@ +Thu Oct 17 23:55:32 1996 Mark Eichin <eichin@cygnus.com> + + * ftpd.c (auth_data): actually exit the for loop if the ftp key + was ok. + Mon Oct 14 07:54:17 1996 Ezra Peisach <epeisach@kangaroo.mit.edu> * ftpd.c (secure_fprintf): Use STDARG routines if diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index df29b8f1d4..f25fbadcbb 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -1983,8 +1983,8 @@ char *data; NULL, /* ignore time_rec */ NULL /* ignore del_cred_handle */ ); - if (accept_maj!=GSS_S_COMPLETE && accept_maj!=GSS_S_CONTINUE_NEEDED) - continue; + if (accept_maj==GSS_S_COMPLETE||accept_maj==GSS_S_CONTINUE_NEEDED) + break; } if (found) { |
