aboutsummaryrefslogtreecommitdiff
path: root/src/directive.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/directive.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/directive.c')
-rw-r--r--src/directive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/directive.c b/src/directive.c
index 924582c..eeb82c1 100644
--- a/src/directive.c
+++ b/src/directive.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
@@ -169,7 +169,7 @@ directive_version_in_range_p (struct file_triplet *trp,
unsigned from, unsigned to)
{
const char *val;
- int version;
+ unsigned version;
if (directive_get_value (trp, "version", &val))
{

Return to:

Send suggestions and report system problems to the System administrator.