Dont look too careful on local [CID-23]

This commit is contained in:
Love Hornquist Astrand
2009-07-30 14:16:20 +02:00
parent 3608b815b4
commit 30b87b0633

View File

@@ -936,7 +936,7 @@ recvrequest (char *cmd, char *local, char *remote,
return;
}
oldintr = signal (SIGINT, abortrecv);
if (!local_given || (strcmp (local, "-") && *local != '|')) {
if (!local_given || (local && (strcmp(local, "-") && *local != '|'))) {
if (access (local, 2) < 0) {
char *dir = strrchr (local, '/');