From: Harald Radi Date: Sun, 1 Dec 2002 20:28:54 +0000 (+0000) Subject: rename callbacks to fit the original name X-Git-Tag: RELEASE_1_0b3~217 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e25b194525137f579c97cba652b9f5b297d77865;p=php rename callbacks to fit the original name --- diff --git a/sapi/milter/php_milter.c b/sapi/milter/php_milter.c index 6fb3f3b5a2..dbff1e47fb 100644 --- a/sapi/milter/php_milter.c +++ b/sapi/milter/php_milter.c @@ -12,7 +12,7 @@ | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ - | Author: Harald Radi | | Parts based on CGI SAPI Module by | | Rasmus Lerdorf, Stig Bakken and Zeev Suraski | +----------------------------------------------------------------------+ @@ -260,7 +260,7 @@ static sfsistat mlfi_envfrom(SMFICTX *ctx, char **argv) ALLOC_ZVAL(param[0]); INIT_PZVAL(param[0]); - ZVAL_STRING(&function_name, "milter_envelope_from", 0); + ZVAL_STRING(&function_name, "milter_envfrom", 0); array_init(param[0]); while (*argv) { @@ -300,7 +300,7 @@ static sfsistat mlfi_envrcpt(SMFICTX *ctx, char **argv) ALLOC_ZVAL(param[0]); INIT_PZVAL(param[0]); - ZVAL_STRING(&function_name, "milter_envelope_recipient", 0); + ZVAL_STRING(&function_name, "milter_envrcpt", 0); array_init(param[0]); while (*argv) {