projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- yet better a memleak than a segfault
[m6w6/ext-http]
/
php_http_api.h
diff --git
a/php_http_api.h
b/php_http_api.h
index 1924f96fe290b8197242a587db34b5c3e295d062..bd229e3f4d11c0798fe0fe7f388581b8af25be25 100644
(file)
--- a/
php_http_api.h
+++ b/
php_http_api.h
@@
-33,7
+33,7
@@
extern STATUS _http_parse_key_list(const char *list, HashTable *items, char sepa
#define http_error(type, code, string) _http_error_ex(type, code, "%s", string)
#define http_error_ex _http_error_ex
#define http_error(type, code, string) _http_error_ex(type, code, "%s", string)
#define http_error_ex _http_error_ex
-extern void _http_error_ex(long type, long code, const char *format, ...);
+extern void _http_error_ex(long type, long code, const char *format, ...)
PHP_ATTRIBUTE_FORMAT(printf, 3, 4)
;
#define http_exit(s, h) http_exit_ex((s), (h), 1)
#define http_exit_ex(s, h, f) _http_exit_ex((s), (h), (f) TSRMLS_CC)
#define http_exit(s, h) http_exit_ex((s), (h), 1)
#define http_exit_ex(s, h, f) _http_exit_ex((s), (h), (f) TSRMLS_CC)