projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
27c8889
)
- fix crash in http_request_prepare() when HttpRequest::addHeaders(array("foo"))...
author
Michael Wallner
<mike@php.net>
Sun, 5 Nov 2006 17:39:40 +0000
(17:39 +0000)
committer
Michael Wallner
<mike@php.net>
Sun, 5 Nov 2006 17:39:40 +0000
(17:39 +0000)
http_request_api.c
patch
|
blob
|
history
diff --git
a/http_request_api.c
b/http_request_api.c
index f62881b1bf6b20a739595548370e87790485656c..b2f997bc70eb10fd2df4338e9ee7398ecbd35048 100644
(file)
--- a/
http_request_api.c
+++ b/
http_request_api.c
@@
-618,7
+618,7
@@
PHP_HTTP_API STATUS _http_request_prepare(http_request *request, HashTable *opti
request->_cache.headers = NULL;
}
if ((zoption = http_request_option(request, options, "headers", IS_ARRAY))) {
- char *header_key;
+ char *header_key
= NULL
;
ulong header_idx;
HashPosition pos;