aboutsummaryrefslogtreecommitdiff
path: root/src/triplet.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/triplet.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/triplet.c')
-rw-r--r--src/triplet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/triplet.c b/src/triplet.c
index e7bab3e..de8c8d6 100644
--- a/src/triplet.c
+++ b/src/triplet.c
@@ -1,5 +1,5 @@
/* 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
@@ -423,6 +423,7 @@ expand_triplet_upload (struct kw_expansion *exp, void *data)
size += strlen (buf[file_signature]) + 1;
exp->value = xmalloc (size + 1);
+ exp->value[0] = 0;
if (buf[file_dist])
{
strcat(exp->value, buf[file_dist]);

Return to:

Send suggestions and report system problems to the System administrator.