diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-12-22 16:04:46 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-12-22 16:04:46 +0200 |
commit | d44a5b0b3818601311c6cde02a5ffe65b1a47554 (patch) | |
tree | 44f2f401d7950e23bffb7379e861768ecdf3252f /src/mail.c | |
parent | 1d9b66b2a9038d9ecc1ddf21194bfb5eb89d8075 (diff) | |
download | wydawca-d44a5b0b3818601311c6cde02a5ffe65b1a47554.tar.gz wydawca-d44a5b0b3818601311c6cde02a5ffe65b1a47554.tar.bz2 |
Version 2.0release-2.0
* NEWS: Update.
* configure.ac: Update.
* doc/wydawca.texi: Minor change.
* etc/wydawca.rc: Update.
* src/config.c (notification_event_str)
(notification_target_str): Use ARGMATCH_TO_ARGUMENT.
* src/mail.c (get_uploader_email): Avoid segfault
on info==NULL.
Diffstat (limited to 'src/mail.c')
-rw-r--r-- | src/mail.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -480,6 +480,8 @@ get_uploader_email (struct uploader_info *info, struct file_triplet *trp, mu_address_t rcpt = NULL; int rc; + if (!info) + return NULL; rc = mu_address_create (&addr, info->email); if (rc) { |