]> granicus.if.org Git - php/commitdiff
this is not needed
authorUwe Schindler <thetaphi@php.net>
Sat, 1 Nov 2003 23:56:58 +0000 (23:56 +0000)
committerUwe Schindler <thetaphi@php.net>
Sat, 1 Nov 2003 23:56:58 +0000 (23:56 +0000)
sapi/nsapi/nsapi.c

index a6acc50a564cb3f0f275aaeb212bf101cbf8e431..d81f24c5e5d8f9dd0093f5b7e70da34eba529827 100644 (file)
@@ -176,11 +176,6 @@ ZEND_DECLARE_MODULE_GLOBALS(nsapi)
 
 #define NSAPI_G(v) TSRMG(nsapi_globals_id, zend_nsapi_globals *, v)
 
-/* compatibility with PHP4_3 */
-#if !defined(OnUpdateLong)
-#define OnUpdateLong OnUpdateInt
-#endif
-
 /* {{{ nsapi_functions[]
  *
  * Every user visible function must have an entry in nsapi_functions[].
@@ -216,7 +211,7 @@ zend_module_entry nsapi_module_entry = {
 /* {{{ PHP_INI
  */
 PHP_INI_BEGIN()
-    STD_PHP_INI_ENTRY("nsapi.read_timeout", "60", PHP_INI_ALL, OnUpdateLong, read_timeout, zend_nsapi_globals, nsapi_globals)
+    STD_PHP_INI_ENTRY("nsapi.read_timeout", "60", PHP_INI_ALL, OnUpdateInt, read_timeout, zend_nsapi_globals, nsapi_globals)
 PHP_INI_END()
 /* }}} */