Skip to content

Commit e25b194

Browse files
author
Harald Radi
committed
rename callbacks to fit the original name
1 parent 9f361fc commit e25b194

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sapi/milter/php_milter.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
| obtain it through the world-wide-web, please send a note to |
1313
| license@php.net so we can mail you a copy immediately. |
1414
+----------------------------------------------------------------------+
15-
| Author: Harald Radi <phanto@php.net |
15+
| Author: Harald Radi <phanto@php.net> |
1616
| Parts based on CGI SAPI Module by |
1717
| Rasmus Lerdorf, Stig Bakken and Zeev Suraski |
1818
+----------------------------------------------------------------------+
@@ -260,7 +260,7 @@ static sfsistat mlfi_envfrom(SMFICTX *ctx, char **argv)
260260
ALLOC_ZVAL(param[0]);
261261
INIT_PZVAL(param[0]);
262262

263-
ZVAL_STRING(&function_name, "milter_envelope_from", 0);
263+
ZVAL_STRING(&function_name, "milter_envfrom", 0);
264264
array_init(param[0]);
265265

266266
while (*argv) {
@@ -300,7 +300,7 @@ static sfsistat mlfi_envrcpt(SMFICTX *ctx, char **argv)
300300
ALLOC_ZVAL(param[0]);
301301
INIT_PZVAL(param[0]);
302302

303-
ZVAL_STRING(&function_name, "milter_envelope_recipient", 0);
303+
ZVAL_STRING(&function_name, "milter_envrcpt", 0);
304304
array_init(param[0]);
305305

306306
while (*argv) {

0 commit comments

Comments
 (0)