aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/parser.c
diff options
context:
space:
mode:
authorEric Faurot <eric@faurot.net>2013-08-20 11:27:56 +0200
committerEric Faurot <eric@faurot.net>2013-08-20 11:27:56 +0200
commit201ca1ae424c627a75bdcfd06982d8918ae80055 (patch)
tree7519a08c539d7a5f0e8b4842c6715a5a7092168a /smtpd/parser.c
parentMerge branch 'master' into portable (diff)
parentWhen a ctl op on an envelope is issued, let the scheduler report the (diff)
downloadOpenSMTPD-201ca1ae424c627a75bdcfd06982d8918ae80055.tar.xz
OpenSMTPD-201ca1ae424c627a75bdcfd06982d8918ae80055.zip
Merge branch 'master' into portableopensmtpd-201308201232p1
Diffstat (limited to 'smtpd/parser.c')
-rw-r--r--smtpd/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smtpd/parser.c b/smtpd/parser.c
index 8fd280a6..652c1316 100644
--- a/smtpd/parser.c
+++ b/smtpd/parser.c
@@ -217,7 +217,7 @@ cmd_run(int argc, char **argv)
if (node->cmd == NULL)
goto fail;
- return (node->cmd(np, param));
+ return (node->cmd(np, np ? param : NULL));
fail:
fprintf(stderr, "possibilities are:\n");