X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_etag.c;h=8c6a5485f0bd2a8247d0b0f7c220aba23d803656;hp=4e5fd692bf6ed8a91816fd28b6b9979ac017c550;hb=b3831bc5f19cf32880ea19341c3527f0e9553517;hpb=e761c34103c0c5316cce092ea42a789b95e887d2 diff --git a/src/php_http_etag.c b/src/php_http_etag.c index 4e5fd69..8c6a548 100644 --- a/src/php_http_etag.c +++ b/src/php_http_etag.c @@ -20,7 +20,7 @@ #include "ext/standard/sha1.h" #include "ext/standard/md5.h" -php_http_etag_t *php_http_etag_init(const char *mode TSRMLS_DC) +php_http_etag_t *php_http_etag_init(const char *mode) { void *ctx; php_http_etag_t *e; @@ -47,7 +47,6 @@ php_http_etag_t *php_http_etag_init(const char *mode TSRMLS_DC) e = emalloc(sizeof(*e)); e->ctx = ctx; e->mode = estrdup(mode); - TSRMLS_SET_CTX(e->ts); return e; }