* improve http_send() and http_negotiate_q() code
[m6w6/ext-http] / http_functions.c
index 1cffa1757717e5c2ef3222adc38ffe0484567860..f42fccba9b28c02eadb76488aed0f8607194ab7e 100644 (file)
@@ -373,7 +373,7 @@ PHP_FUNCTION(http_cache_last_modified)
  */
 PHP_FUNCTION(http_cache_etag)
 {
-       char *etag;
+       char *etag = NULL;
        int etag_len = 0;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &etag, &etag_len) != SUCCESS) {