From: Michael Wallner Date: Fri, 11 Feb 2005 09:42:10 +0000 (+0000) Subject: * http_auth_header() should return the status of http_send_header() X-Git-Tag: RELEASE_0_4_0~23 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=2b11d658205415281ebf506a8409e7588be5f590;p=m6w6%2Fext-http * http_auth_header() should return the status of http_send_header() --- diff --git a/php_http_api.h b/php_http_api.h index 8ca390d..e9c6b3c 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -180,7 +180,7 @@ PHP_HTTP_API STATUS _http_post_array(const char *URL, HashTable *postarray, Hash PHP_HTTP_API STATUS _http_auth_credentials(char **user, char **pass TSRMLS_DC); #define http_auth_header(t, r) _http_auth_header((t), (r) TSRMLS_CC) -PHP_HTTP_API void _http_auth_header(const char *type, const char *realm TSRMLS_DC); +PHP_HTTP_API STATUS _http_auth_header(const char *type, const char *realm TSRMLS_DC); /* }}} */