Loading lib/http.c +7 −5 Original line number Diff line number Diff line Loading @@ -229,6 +229,7 @@ UrgError http(struct UrlData *data, char *ppath, char *host, long *bytecount) int count=0; /* now loop through all cookies that matched */ while(co) { if(co->value && strlen(co->value)) { if(0 == count) { sendf(data->firstsocket, data, "Cookie: "); Loading @@ -236,6 +237,7 @@ UrgError http(struct UrlData *data, char *ppath, char *host, long *bytecount) count++; sendf(data->firstsocket, data, "%s=%s;", co->name, co->value); } co = co->next; /* next cookie please */ } if(count) { Loading Loading
lib/http.c +7 −5 Original line number Diff line number Diff line Loading @@ -229,6 +229,7 @@ UrgError http(struct UrlData *data, char *ppath, char *host, long *bytecount) int count=0; /* now loop through all cookies that matched */ while(co) { if(co->value && strlen(co->value)) { if(0 == count) { sendf(data->firstsocket, data, "Cookie: "); Loading @@ -236,6 +237,7 @@ UrgError http(struct UrlData *data, char *ppath, char *host, long *bytecount) count++; sendf(data->firstsocket, data, "%s=%s;", co->name, co->value); } co = co->next; /* next cookie please */ } if(count) { Loading