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:
774dab5
)
return an error string for the missing URL case
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 21 Sep 2005 06:38:33 +0000
(06:38 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 21 Sep 2005 06:38:33 +0000
(06:38 +0000)
lib/transfer.c
patch
|
blob
|
history
diff --git
a/lib/transfer.c
b/lib/transfer.c
index
d08fa59
..
996d133
100644
(file)
--- a/
lib/transfer.c
+++ b/
lib/transfer.c
@@
-1622,9
+1622,11
@@
Transfer(struct connectdata *conn)
CURLcode Curl_pretransfer(struct SessionHandle *data)
{
CURLcode res;
- if(!data->change.url)
+ if(!data->change.url)
{
/* we can't do anything wihout URL */
+ failf(data, "No URL set!\n");
return CURLE_URL_MALFORMAT;
+ }
/* Init the SSL session ID cache here. We do it here since we want to do it
after the *_setopt() calls (that could change the size of the cache) but