Projects
Kolab:3.4
cyrus-imapd
0003-Disable-user-parameter-check-to-notify-ext...
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-Disable-user-parameter-check-to-notify-external.patch of Package cyrus-imapd (Revision 52)
Currently displaying revision
52
,
Show latest
From 7e8b0d9ecee648e854bc90f674f61e44f8d42c05 Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" <vanmeeuwen@kolabsys.com> Date: Sat, 8 Mar 2014 23:49:27 +0100 Subject: [PATCH 3/6] Disable user parameter check to notify external --- notifyd/notify_external.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/notifyd/notify_external.c b/notifyd/notify_external.c index 5a2d680..964d1ee 100644 --- a/notifyd/notify_external.c +++ b/notifyd/notify_external.c @@ -71,15 +71,15 @@ char* notify_external(const char *class, const char *priority, /* check/parse options */ if (!(notify = config_getstring(IMAPOPT_NOTIFY_EXTERNAL))) { - syslog(LOG_ERR, "ERROR: recipient not specified"); - return strdup("NO external recipient not specified"); + syslog(LOG_ERR, "ERROR: external recipient (program) not specified"); + return strdup("NO external recipient (program) not specified"); } - if (!*user) { - syslog(LOG_ERR, "ERROR: recipient not specified"); - return strdup("NO external recipient not specified"); +/* if (!*user) { + syslog(LOG_ERR, "ERROR: external recipient user not specified"); + return strdup("NO external recipient user not specified"); } - +*/ buf[0] = notify; buf[1] = "-c"; buf[2] = class; -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.