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:
c29a7d9
)
what the?
author
Michael Wallner
<mike@php.net>
Thu, 21 Jul 2005 16:18:09 +0000
(16:18 +0000)
committer
Michael Wallner
<mike@php.net>
Thu, 21 Jul 2005 16:18:09 +0000
(16:18 +0000)
http_cache_api.c
patch
|
blob
|
history
diff --git
a/http_cache_api.c
b/http_cache_api.c
index e9639498d05189e1f6c052ed7a9c14443fdff41b..56ca0f61a3f045587d6e455347fa2570e435a6ca 100644
(file)
--- 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));