X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_etag.c;h=1ebddb35d4a7b283db6cc07c954133bbbde18c2e;hp=3604ad8673957f6ca4f52f35420fe06cb15eae14;hb=cd3cad9da098f0dae2997dd6a52a907bfaaf6041;hpb=3d6705fe0e8bd96f173d4a803107d8053ef38e96 diff --git a/php_http_etag.c b/php_http_etag.c index 3604ad8..1ebddb3 100644 --- a/php_http_etag.c +++ b/php_http_etag.c @@ -20,7 +20,7 @@ #include #include -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; }