diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-07-14 23:35:28 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-07-14 23:35:28 +0000 |
commit | 20e08ebe561d4ac2d1e9e26fcf74162b93f8555e (patch) | |
tree | cbdf8096c494647b69aa207e35a8809743625ded /src/mail.c | |
parent | 4a3ee4cee740ac1cda420bef0bb33662688e2f74 (diff) | |
download | wydawca-20e08ebe561d4ac2d1e9e26fcf74162b93f8555e.tar.gz wydawca-20e08ebe561d4ac2d1e9e26fcf74162b93f8555e.tar.bz2 |
* src/wydawca.h (register_message_template): New prototype.
* src/verify.c (fill_project_name): Fix return value.
* src/config.c (_cfg_raw_read): Remove unused variables.
* src/directive.c (directive_version_in_range_p): Version is unsigned.
* src/mail.c (do_notify): Remove unused variable.
* src/diskio.c (copy_file): Fall back to user-space copying if sendile
fails with EINVAL. Always remove destination file on failure.
* src/triplet.c (expand_triplet_upload): Initialize exp->value.
git-svn-id: file:///svnroot/wydawca/trunk@323 6bb4bd81-ecc2-4fd4-a2d4-9571d19c0d33
Diffstat (limited to 'src/mail.c')
-rw-r--r-- | src/mail.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* wydawca - automatic release submission daemon | 1 | /* wydawca - automatic release submission daemon |
2 | Copyright (C) 2007 Sergey Poznyakoff | 2 | Copyright (C) 2007, 2008 Sergey Poznyakoff |
3 | 3 | ||
4 | Wydawca is free software; you can redistribute it and/or modify it | 4 | Wydawca is free software; you can redistribute it and/or modify it |
5 | under the terms of the GNU General Public License as published by the | 5 | under the terms of the GNU General Public License as published by the |
@@ -268,10 +268,8 @@ void | |||
268 | do_notify (struct file_triplet *trp, enum notification_event ev, | 268 | do_notify (struct file_triplet *trp, enum notification_event ev, |
269 | struct notification *ntf) | 269 | struct notification *ntf) |
270 | { | 270 | { |
271 | int rc; | ||
272 | mu_address_t rcpt = NULL; | 271 | mu_address_t rcpt = NULL; |
273 | char *errp; | 272 | char *errp; |
274 | |||
275 | switch (ntf->tgt) | 273 | switch (ntf->tgt) |
276 | { | 274 | { |
277 | case notify_admin: | 275 | case notify_admin: |