aboutsummaryrefslogtreecommitdiff
path: root/src/mail.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-07-14 23:35:28 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-07-14 23:35:28 +0000
commit20e08ebe561d4ac2d1e9e26fcf74162b93f8555e (patch)
treecbdf8096c494647b69aa207e35a8809743625ded /src/mail.c
parent4a3ee4cee740ac1cda420bef0bb33662688e2f74 (diff)
downloadwydawca-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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mail.c b/src/mail.c
index d777a2e..f519413 100644
--- a/src/mail.c
+++ b/src/mail.c
@@ -1,8 +1,8 @@
/* wydawca - automatic release submission daemon
- Copyright (C) 2007 Sergey Poznyakoff
+ Copyright (C) 2007, 2008 Sergey Poznyakoff
Wydawca is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
@@ -265,16 +265,14 @@ get_recipient (struct access_method *method, struct file_triplet *trp,
}
void
do_notify (struct file_triplet *trp, enum notification_event ev,
struct notification *ntf)
{
- int rc;
mu_address_t rcpt = NULL;
char *errp;
-
switch (ntf->tgt)
{
case notify_admin:
rcpt = admin_address;
break;

Return to:

Send suggestions and report system problems to the System administrator.