From: Michael Wallner Date: Thu, 21 Jul 2005 16:18:09 +0000 (+0000) Subject: what the? X-Git-Tag: RELEASE_0_10_0~27 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1667682342979170c282e2187824d777ce69278e;p=m6w6%2Fext-http what the? --- diff --git a/http_cache_api.c b/http_cache_api.c index e963949..56ca0f6 100644 --- a/http_cache_api.c +++ b/http_cache_api.c @@ -77,10 +77,10 @@ PHP_HTTP_API char *_http_etag(const void *data_ptr, size_t data_len, http_send_m case SEND_RSRC: { - if (php_stream_stat((php_stream *) data_ptr, &ssb)) { + if (php_stream_stat((php_stream *) data_ptr, &ssb)) { efree(new_etag); - return NULL; - } + return NULL; + } snprintf(ssb_buf, 127, "%ld=%ld=%ld", ssb.sb.st_mtime, ssb.sb.st_ino, ssb.sb.st_size); PHP_MD5Update(&ctx, ssb_buf, strlen(ssb_buf));