projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge branch 'v2.6.x'
[m6w6/ext-http]
/
src
/
php_http_etag.c
diff --git
a/src/php_http_etag.c
b/src/php_http_etag.c
index 3604ad8673957f6ca4f52f35420fe06cb15eae14..8c6a5485f0bd2a8247d0b0f7c220aba23d803656 100644
(file)
--- a/
src/php_http_etag.c
+++ b/
src/php_http_etag.c
@@
-16,11
+16,11
@@
# include "php_hash.h"
#endif
# include "php_hash.h"
#endif
-#include
<ext/standard/crc32.h>
-#include
<ext/standard/sha1.h>
-#include
<ext/standard/md5.h>
+#include
"ext/standard/crc32.h"
+#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;
{
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);
e = emalloc(sizeof(*e));
e->ctx = ctx;
e->mode = estrdup(mode);
- TSRMLS_SET_CTX(e->ts);
return e;
}
return e;
}