diff options
author | ru <ru@FreeBSD.org> | 2001-06-27 14:11:25 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-06-27 14:11:25 +0000 |
commit | 61d088ba8d3e9bcd389b807e82ed249471987daf (patch) | |
tree | 2dc26a694b551858c6e30a76f57dd9c1fd1ae7cf /lib | |
parent | 6cb2bc37f11df73758a970fc32fc6173d5276118 (diff) | |
download | FreeBSD-src-61d088ba8d3e9bcd389b807e82ed249471987daf.zip FreeBSD-src-61d088ba8d3e9bcd389b807e82ed249471987daf.tar.gz |
Fixed the brain-o in rev. 1.10: the logic check was reversed.
Reported by: Bernd Fuerwitt <bf@fuerwitt.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalias/alias_ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalias/alias_ftp.c b/lib/libalias/alias_ftp.c index eba434b..4d488e2 100644 --- a/lib/libalias/alias_ftp.c +++ b/lib/libalias/alias_ftp.c @@ -131,7 +131,7 @@ int maxpacketsize /* The maximum size this packet can grow to (including header * properly terminated with CRLF. */ pflags = GetProtocolFlags(link); - if (dlen <= MAX_MESSAGE_SIZE && (pflags & WAIT_CRLF)) { + if (dlen <= MAX_MESSAGE_SIZE && !(pflags & WAIT_CRLF)) { ftp_message_type = FTP_UNKNOWN_MESSAGE; if (ntohs(tc->th_dport) == FTP_CONTROL_PORT_NUMBER) { |