1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Modification of patch to recur.c

This commit is contained in:
micah 2007-08-27 14:28:22 -07:00
parent 3dc15952f2
commit a7d6a8b512
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@
* getopt.c: Fix missing (but, accidentally, legal) comment * getopt.c: Fix missing (but, accidentally, legal) comment
delimiter after licensing text. delimiter after licensing text.
* recur.c (retrieve_tree): Inserted missing cast for strip_auth. * recur.c (retrieve_tree): Inserted missing cast for strip_auth.
Includes adjustment by Ralf Wildenhues.
* openssl.c (ssl_init): const-ified the meth local variable. * openssl.c (ssl_init): const-ified the meth local variable.
* main.c: Include all the static function definitions in the * main.c: Include all the static function definitions in the
"#ifndef TESTING" clause, leaving just the definitions for "#ifndef TESTING" clause, leaving just the definitions for

View File

@ -325,7 +325,8 @@ retrieve_tree (const char *start_url)
struct urlpos *child = children; struct urlpos *child = children;
struct url *url_parsed = url_parsed = url_parse (url, NULL); struct url *url_parsed = url_parsed = url_parse (url, NULL);
char *referer_url = url; char *referer_url = url;
bool strip_auth = (bool)url_parsed->user; bool strip_auth = (url_parsed != NULL
&& url_parsed->user != NULL);
assert (url_parsed != NULL); assert (url_parsed != NULL);
/* Strip auth info if present */ /* Strip auth info if present */