From 8b5eb376ae8f5e53cfb66752327043be2669498a Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 11 Oct 2005 08:14:49 +0000 Subject: [PATCH] - typos --- http_api.c | 4 ++-- http_functions.c | 6 +++--- php_http_api.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/http_api.c b/http_api.c index a613b3f..683da9d 100644 --- a/http_api.c +++ b/http_api.c @@ -55,7 +55,7 @@ STATUS _http_support_global_init(INIT_FUNC_ARGS) HTTP_LONG_CONSTANT("HTTP_SUPPORT", HTTP_SUPPORT); HTTP_LONG_CONSTANT("HTTP_SUPPORT_REQUESTS", HTTP_SUPPORT_REQUESTS); - HTTP_LONG_CONSTANT("HTTP_SUPPORT_MIMEMAGIC", HTTP_SUPPORT_MIMEMAGIC); + HTTP_LONG_CONSTANT("HTTP_SUPPORT_MAGICMIME", HTTP_SUPPORT_MAGICMIME); HTTP_LONG_CONSTANT("HTTP_SUPPORT_ENCODINGS", HTTP_SUPPORT_ENCODINGS); HTTP_LONG_CONSTANT("HTTP_SUPPORT_MHASHETAGS", HTTP_SUPPORT_MHASHETAGS); HTTP_LONG_CONSTANT("HTTP_SUPPORT_SSLREQUESTS", HTTP_SUPPORT_SSLREQUESTS); @@ -77,7 +77,7 @@ PHP_HTTP_API long _http_support(long feature) support |= HTTP_SUPPORT_MHASHETAGS; #endif #ifdef HTTP_HAVE_MAGIC - support |= HTTP_SUPPORT_MIMEMAGIC; + support |= HTTP_SUPPORT_MAGICMIME; #endif #ifdef HTTP_HAVE_ZLIB support |= HTTP_SUPPORT_ENCODINGS; diff --git a/http_functions.c b/http_functions.c index d9cefaf..cbb487f 100644 --- a/http_functions.c +++ b/http_functions.c @@ -1604,11 +1604,11 @@ PHP_FUNCTION(http_uncompress) * and HTTP requests can be issued * - HTTP_SUPPORT_SSLREQUESTS: whether libcurl was linked against openssl, * and SSL requests can be issued - * - HTTP_SUPPORT_ENCOGINS: whether ext/http was linked against zlib, + * - HTTP_SUPPORT_ENCODINGS: whether ext/http was linked against zlib, * and compressed HTTP responses can be decoded - * - HTTP_SUPPORTS_MHASHETAGS: whether ext/http was linked against libhmash, + * - HTTP_SUPPORT_MHASHETAGS: whether ext/http was linked against libmhash, * and ETags can be generated with the available mhash algorithms - * - HTTP_SUPPORTS_MAGICMIME: whether ext/http was linked against libmagic, + * - HTTP_SUPPORT_MAGICMIME: whether ext/http was linked against libmagic, * and the HttpResponse::guessContentType() method is usable * * Returns int, whether requested feature is supported, or a bitmask with diff --git a/php_http_api.h b/php_http_api.h index 99153df..7196048 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -23,7 +23,7 @@ #define HTTP_SUPPORT 0x01L #define HTTP_SUPPORT_REQUESTS 0x02L -#define HTTP_SUPPORT_MIMEMAGIC 0x04L +#define HTTP_SUPPORT_MAGICMIME 0x04L #define HTTP_SUPPORT_ENCODINGS 0x08L #define HTTP_SUPPORT_MHASHETAGS 0x10L #define HTTP_SUPPORT_SSLREQUESTS 0x20L -- 2.30.2