From 989d8413a16a1d7ad2ea3ae2ad31c5e9085f6b92 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 1 Jul 2008 12:39:57 +0200 Subject: applied ErrLog interface change to ommail --- plugins/ommail/ommail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/ommail') diff --git a/plugins/ommail/ommail.c b/plugins/ommail/ommail.c index d4158975..4bbb844a 100644 --- a/plugins/ommail/ommail.c +++ b/plugins/ommail/ommail.c @@ -528,11 +528,11 @@ CODESTARTparseSelectorAct /* TODO: check strdup() result */ if(pszFrom == NULL) { - errmsg.LogError(NO_ERRCODE, "no sender address given - specify $ActionMailFrom"); + errmsg.LogError(0, RS_RET_MAIL_NO_FROM, "no sender address given - specify $ActionMailFrom"); ABORT_FINALIZE(RS_RET_MAIL_NO_FROM); } if(pszTo == NULL) { - errmsg.LogError(NO_ERRCODE, "no recipient address given - specify $ActionMailTo"); + errmsg.LogError(0, RS_RET_MAIL_NO_TO, "no recipient address given - specify $ActionMailTo"); ABORT_FINALIZE(RS_RET_MAIL_NO_TO); } -- cgit