X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_etag.c;h=1ebddb35d4a7b283db6cc07c954133bbbde18c2e;hp=3604ad8673957f6ca4f52f35420fe06cb15eae14;hb=822433ffac320a4639686cac7ec13554b009ad9f;hpb=90af3a33726fb1f18022ed332b97672eb3d4d911 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; }