(sendrequest) local must be set [CID-45]

This commit is contained in:
Love Hornquist Astrand
2009-07-30 14:17:45 +02:00
parent 30b87b0633
commit 98b23aa4c7

View File

@@ -678,7 +678,7 @@ sendrequest (char *cmd, char *local, char *remote, char *lmode, int printnames)
char *rmode = "w";
if (verbose && printnames) {
if (local && strcmp (local, "-") != 0)
if (strcmp (local, "-") != 0)
printf ("local: %s ", local);
if (remote)
printf ("remote: %s\n", remote);