aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ftpserver.pl4
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 {