git.samba.org
/
abartlet
/
lorikeet-heimdal.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3608b81
)
Dont look too careful on local [CID-23]
author
Love Hornquist Astrand
<lha@h5l.org>
Thu, 30 Jul 2009 12:16:20 +0000
(14:16 +0200)
committer
Love Hornquist Astrand
<lha@h5l.org>
Thu, 30 Jul 2009 12:16:20 +0000
(14:16 +0200)
appl/ftp/ftp/ftp.c
patch
|
blob
|
history
diff --git
a/appl/ftp/ftp/ftp.c
b/appl/ftp/ftp/ftp.c
index b6e58b30858db7a7b0dcebef4037f98879be9f11..682a346902024d2060d3042b7b5f9414b4f7cb84 100644
(file)
--- a/
appl/ftp/ftp/ftp.c
+++ b/
appl/ftp/ftp/ftp.c
@@
-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, '/');