]> granicus.if.org Git - php/commitdiff
- And fix the README too.
authorDerick Rethans <derick@php.net>
Sun, 30 Nov 2003 20:13:03 +0000 (20:13 +0000)
committerDerick Rethans <derick@php.net>
Sun, 30 Nov 2003 20:13:03 +0000 (20:13 +0000)
README.input_filter

index 69a69335f5c897e6e2174c715be5670e487dcff8..40366f6a954e2ce296891f8393634e083d8ca7fd 100644 (file)
@@ -93,7 +93,7 @@ PHP_MINFO_FUNCTION(my_input_filter)
  * (modified) variable. Returning 0 prevents PHP from registering the variable;
  * you can use this if your filter already registers the variable under a
  * different name, or if you just don't want the variable registered at all. */
-unsigned int  my_sapi_input_filter(int arg, char *var, char **val, unsigned int val_len, unsigned int *new_val_len)
+SAPI_INPUT_FILTER_FUNC(my_sapi_input_filter)
 {
     zval new_var;
     zval *array_ptr = NULL;