[prev in list] [next in list] [prev in thread] [next in thread]
List: curl-commits
Subject: cvs: curl/src main.c,1.166,1.167
From: Daniel Stenberg <bagder () users ! sourceforge ! net>
Date: 2003-03-29 11:03:34
[Download RAW message or body]
Update of /cvsroot/curl/curl/src
In directory sc8-pr-cvs1:/tmp/cvs-serv17086
Modified Files:
main.c
Log Message:
Dan Shearer's fix from bug report #618892, which makes 'curl -O' output
an error message about a missing URL.
Index: main.c
===================================================================
RCS file: /cvsroot/curl/curl/src/main.c,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -r1.166 -r1.167
--- main.c 12 Mar 2003 14:20:16 -0000 1.166
+++ main.c 29 Mar 2003 11:03:30 -0000 1.167
@@ -2442,7 +2442,7 @@
}
}
- if(!config->url_list) {
+ if(!config->url_list || !config->url_list->url) {
helpf("no URL specified!\n");
return CURLE_FAILED_INIT;
}
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic