projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
982c546
)
don't attempt to ftp_cwd() on a NULL path
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 26 Aug 2002 22:00:01 +0000
(22:00 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 26 Aug 2002 22:00:01 +0000
(22:00 +0000)
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index dd10ad41cc36f21db6c0b9603047b6543ed75fc9..11378b909dbd67f0b23141b39cfd2269e0cd926e 100644
(file)
--- a/
lib/ftp.c
+++ b/
lib/ftp.c
@@
-1928,7
+1928,7
@@
CURLcode ftp_perform(struct connectdata *conn,
/* This is a re-used connection. Since we change directory to where the
transfer is taking place, we must now get back to the original dir
where we ended up after login: */
- if (conn->bits.reuse) {
+ if (conn->bits.reuse
&& ftp->entrypath
) {
if ((result = ftp_cwd(conn, ftp->entrypath)) != CURLE_OK)
return result;
}