projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
release 2.5.2
[m6w6/ext-http]
/
php_http_buffer.h
diff --git
a/php_http_buffer.h
b/php_http_buffer.h
index cf9b45863b7af0f2752680be22a9c21b51257bf3..faf8992107675be7b39f744fc0ae069f9326a410 100644
(file)
--- a/
php_http_buffer.h
+++ b/
php_http_buffer.h
@@
-21,19
+21,19
@@
#define PHP_HTTP_BUFFER_NOMEM PHP_HTTP_BUFFER_ERROR
#define PHP_HTTP_BUFFER_PASS0 PHP_HTTP_BUFFER_ERROR
#define PHP_HTTP_BUFFER_NOMEM PHP_HTTP_BUFFER_ERROR
#define PHP_HTTP_BUFFER_PASS0 PHP_HTTP_BUFFER_ERROR
-#ifndef
S
TR_FREE
-# define
STR_FREE(S
TR) \
+#ifndef
P
TR_FREE
+# define
PTR_FREE(P
TR) \
{ \
{ \
- if (
S
TR) { \
- efree(
S
TR); \
+ if (
P
TR) { \
+ efree(
P
TR); \
} \
}
#endif
} \
}
#endif
-#ifndef
S
TR_SET
-# define
STR_SET(S
TR, SET) \
+#ifndef
P
TR_SET
+# define
PTR_SET(P
TR, SET) \
{ \
{ \
-
STR_FREE(S
TR); \
-
S
TR = SET; \
+
PTR_FREE(P
TR); \
+
P
TR = SET; \
}
#endif
#ifndef TSRMLS_D
}
#endif
#ifndef TSRMLS_D