1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Bug 937, http_send_header: Initialize the entry pointer.

In ELinks 0.12.GIT, it was already initialized before the bug 937 fix.
This commit is contained in:
Kalle Olavi Niemitalo 2007-02-25 17:11:38 +02:00 committed by Kalle Olavi Niemitalo
parent 7c0027bf26
commit 7fdad68e7e

View File

@ -551,7 +551,7 @@ http_send_header(struct socket *socket)
int trace = get_opt_bool("protocol.http.trace"); int trace = get_opt_bool("protocol.http.trace");
struct string header; struct string header;
unsigned char *post_data = NULL; unsigned char *post_data = NULL;
struct auth_entry *entry; struct auth_entry *entry = NULL;
struct uri *uri = conn->proxied_uri; /* Set to the real uri */ struct uri *uri = conn->proxied_uri; /* Set to the real uri */
unsigned char *optstr; unsigned char *optstr;
int use_connect, talking_to_proxy; int use_connect, talking_to_proxy;