- typos
authorMichael Wallner <mike@php.net>
Tue, 11 Oct 2005 08:14:49 +0000 (08:14 +0000)
committerMichael Wallner <mike@php.net>
Tue, 11 Oct 2005 08:14:49 +0000 (08:14 +0000)
http_api.c
http_functions.c
php_http_api.h

index a613b3f0dc9899b9b8fd52c577e5091a2b1c1937..683da9db6959f518b2e5fb9aea440e7ccded71dd 100644 (file)
@@ -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;
index d9cefaf87b9cf2e61550d625bfb007d12c414079..cbb487f132798457507f130277d8882b743d01dc 100644 (file)
@@ -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
index 99153df81b9ae0c991206b71c24f613cbce6b77d..7196048c4b58f77e8bc2b95946e8af30710dd2b1 100644 (file)
@@ -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