diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-09-08 16:39:41 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-09-08 16:39:41 +0100 |
commit | f8986a2b34368e081efa4982f8276551e13a4d29 (patch) | |
tree | a2d6095e674b65bc1ed7c6bf6c8e47f3d83cfc0b /tests | |
parent | 1b96ce04b26e594005af0fea991cba5f96fe44b4 (diff) |
ftpserver.pl: Fixed 'Use of uninitialized value $args in string ne'
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ftpserver.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 8ca3f8b8a..9b89e91ef 100755 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -1301,7 +1301,7 @@ sub DELE_pop3 { logmsg "DELE_pop3 got $msg\n"; - if ($msg eq "") { + if (!$msg) { sendcontrol "-ERR Protocol error\r\n"; } else { @@ -1314,7 +1314,7 @@ sub DELE_pop3 { sub STAT_pop3 { my ($args) = @_; - if ($args ne "") { + if ($args) { sendcontrol "-ERR Protocol error\r\n"; } else { |