mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix merge glitches, get it to build.
This commit is contained in:
parent
caae3b70f4
commit
1c231299bd
@ -28,6 +28,7 @@ src/.deps
|
||||
src/stamp-h1
|
||||
src/config.h
|
||||
src/config.h.in
|
||||
src/css.c
|
||||
src/wget
|
||||
src/cscope.out
|
||||
src/tags
|
||||
|
@ -36,7 +36,7 @@ LIBS = @LIBS@ @LIBSSL@ @LIBGNUTLS@ @LIBINTL@
|
||||
|
||||
bin_PROGRAMS = wget
|
||||
wget_SOURCES = cmpt.c connect.c convert.c cookies.c \
|
||||
css.lex css-url.c \
|
||||
css.l css-url.c \
|
||||
ftp.c ftp-basic.c \
|
||||
ftp-ls.c hash.c host.c html-parse.c html-url.c http.c \
|
||||
init.c log.c main.c netrc.c progress.c ptimer.c recur.c \
|
||||
|
@ -73,7 +73,7 @@ convert_links_in_hashtable (struct hash_table *downloaded_set,
|
||||
if (downloaded_set)
|
||||
cnt = hash_table_count (downloaded_set);
|
||||
if (cnt == 0)
|
||||
goto cleanup;
|
||||
return;
|
||||
file_array = alloca_array (char *, cnt);
|
||||
string_set_to_array (downloaded_set, file_array);
|
||||
|
||||
@ -184,7 +184,7 @@ convert_all_links (void)
|
||||
secs = ptimer_measure (timer);
|
||||
logprintf (LOG_VERBOSE, _("Converted %d files in %s seconds.\n"),
|
||||
file_count, print_decimal (secs));
|
||||
cleanup:
|
||||
|
||||
ptimer_destroy (timer);
|
||||
}
|
||||
|
||||
|
@ -69,6 +69,7 @@ as that of the covered work. */
|
||||
extern char *version_string;
|
||||
|
||||
/* Forward decls. */
|
||||
struct http_stat;
|
||||
static char *create_authorization_line (const char *, const char *,
|
||||
const char *, const char *,
|
||||
const char *, bool *);
|
||||
|
@ -55,6 +55,7 @@ as that of the covered work. */
|
||||
/* Functions for maintaining the URL queue. */
|
||||
|
||||
struct queue_element {
|
||||
const char *url; /* the URL to download */
|
||||
const char *referer; /* the referring document */
|
||||
int depth; /* the depth */
|
||||
bool html_allowed; /* whether the document is allowed to
|
||||
|
Loading…
Reference in New Issue
Block a user