Fri Feb 16 15:51:59 1996 Mark Eichin <eichin@cygnus.com>
* ftpcmd.y (yylex): error handling changes from kbalk@hp.com.
Tue Jan 16 18:44:42 1996 Mark Eichin <eichin@cygnus.com>
* ftpd.c (user): 331 is more appropriate for kuserok failure.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7512
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Feb 16 15:51:59 1996 Mark Eichin <eichin@cygnus.com>
+
+ * ftpcmd.y (yylex): error handling changes from kbalk@hp.com.
+
+Tue Jan 16 18:44:42 1996 Mark Eichin <eichin@cygnus.com>
+
+ * ftpd.c (user): 331 is more appropriate for kuserok failure.
+
Wed Feb 7 13:33:41 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* Makefile.in (clean): Remove ftpd
dologout(0);
}
(void) alarm(0);
+
+ /* If getline() finds an error, the string is null */
+ if (*cbuf == '\0')
+ continue;
+
#ifdef SETPROCTITLE
if (strncasecmp(cbuf, "PASS", 4) != NULL)
setproctitle("%s: %s", proctitle, cbuf);
kdata.pinst, kdata.prealm,
kerb_ok ? "" : " not",
name, kerb_ok ? "" : "; Password required.");
- reply(kerb_ok ? 232 : 336, "%s", buf);
+ reply(kerb_ok ? 232 : 331, "%s", buf);
syslog(kerb_ok ? LOG_INFO : LOG_ERR, "%s", buf);
} else
#endif /* KERBEROS */