X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=2d27dbb5b031a81c514f5449b73a5479ac322cba;hp=7104f8e0082d3f226c4409f8e2407fde7206d3bb;hb=38b37ed1045b86625778bb21413bd9f78225d03a;hpb=c3e7a030de454747b528e42d37ab8c18c6b39721 diff --git a/src/http.c b/src/http.c index 7104f8e0..2d27dbb5 100644 --- a/src/http.c +++ b/src/http.c @@ -344,8 +344,7 @@ http_process_set_cookie (const char *hdr, void *arg) /* The jar should have been created by now. */ assert (wget_cookie_jar != NULL); - cookie_jar_process_set_cookie (wget_cookie_jar, u->host, u->port, u->path, - hdr); + cookie_handle_set_cookie (wget_cookie_jar, u->host, u->port, u->path, hdr); return 1; } @@ -901,14 +900,13 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy) request_keep_alive = NULL; if (opt.cookies) - cookies = cookie_jar_generate_cookie_header (wget_cookie_jar, u->host, - u->port, u->path, + cookies = cookie_header (wget_cookie_jar, u->host, u->port, u->path, #ifdef HAVE_SSL - u->scheme == SCHEME_HTTPS + u->scheme == SCHEME_HTTPS #else - 0 + 0 #endif - ); + ); if (opt.post_data || opt.post_file_name) {