summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org.ua>2014-06-13 14:53:42 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2014-06-13 14:53:42 (GMT)
commitcfdddef8393b7012db59fec4d01558189a4c2e99 (patch) (side-by-side diff)
tree1dd848451c3223965ff7876dc1f71111a57e2766 /src
parent5131315a8153c70c7acc92a02323a47f6c563dfd (diff)
downloadwydawca-cfdddef8393b7012db59fec4d01558189a4c2e99.tar.gz
wydawca-cfdddef8393b7012db59fec4d01558189a4c2e99.tar.bz2
Bugfixes.
* modules/mailutils/mod_mailutils.c (wy_config): Initialize allocated struct mailevt with 0s. * src/module.c (conf_notification_modules): Avoid coredump if np->modnode == NULL. * grecs: Upgrade. * tests/notify-upl.at: Add a unique keyword.
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c
index 33946ee..ca1d471 100644
--- a/src/module.c
+++ b/src/module.c
@@ -147,7 +147,7 @@ conf_notification_modules(struct notification *np)
np->modname);
return 1;
}
- if (!np->modcfg && mod->config) {
+ if (!np->modcfg && mod->config && np->modnode) {
np->modcfg = mod->config(np->modnode);
if (!np->modcfg) {
wy_log(LOG_ERR,

Return to:

Send suggestions and report system problems to the System administrator.