aboutsummaryrefslogtreecommitdiffstats
path: root/plpftp/ftp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plpftp/ftp.cc')
-rw-r--r--plpftp/ftp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plpftp/ftp.cc b/plpftp/ftp.cc
index 3c915e3..16a3bc2 100644
--- a/plpftp/ftp.cc
+++ b/plpftp/ftp.cc
@@ -99,7 +99,7 @@ session(rfsv32 & a, int xargc, char **xargv)
long res;
int once = 0;
- if (xargc > 0) {
+ if (xargc > 1) {
once = 1;
argc = (xargc<10)?xargc:10;
for (int i = 0; i < argc; i++)