aboutsummaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 84ee1ca3e..7198197dd 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -469,8 +469,7 @@ int wget_main(int argc ATTRIBUTE_UNUSED, char **argv)
469 } 469 }
470 extra_headers = cp = xmalloc(size); 470 extra_headers = cp = xmalloc(size);
471 while (headers_llist) { 471 while (headers_llist) {
472 cp += sprintf(cp, "%s\r\n", headers_llist->data); 472 cp += sprintf(cp, "%s\r\n", (char*)llist_pop(&headers_llist));
473 headers_llist = headers_llist->link;
474 } 473 }
475 } 474 }
476#endif 475#endif