X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_functions.c;h=8e27b767ab08d11ae123b9aa074120c5ec83c6c6;hp=544a32b2dc703e8723aedf402270246dd26dae59;hb=4f8c51464143f79fd4367c386e5108361ce83a42;hpb=2ee2c71823e82571f3441e80b6b13d35f5b0373c diff --git a/http_functions.c b/http_functions.c index 544a32b..8e27b76 100644 --- a/http_functions.c +++ b/http_functions.c @@ -460,7 +460,7 @@ PHP_FUNCTION(http_redirect) size_t query_len = 0; zend_bool session = 0, permanent = 0; zval *params = NULL; - char *query, *url, *URI, + char *query = NULL, *url = NULL, *URI, LOC[HTTP_URI_MAXLEN + sizeof("Location: ")], RED[HTTP_URI_MAXLEN * 2 + sizeof("Redirecting to %s?%s.\n")];