aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--src/config.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 69068e2..7330c5b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2009-01-17 Sergey Poznyakoff <gray@gnu.org.ua>
+ * src/config.c (_cfg_raw_read): Fix missing return value.
+
* src/diskio.c (symlink_file): Silently remove existing symlink
target.
* NEWS: Update.
diff --git a/src/config.c b/src/config.c
index 9f6e401..e123dcc 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1,5 +1,5 @@
/* wydawca - automatic release submission daemon
- Copyright (C) 2007, 2008 Sergey Poznyakoff
+ Copyright (C) 2007, 2008, 2009 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
@@ -934,7 +934,9 @@ _cfg_raw_read (gsc_config_file_t *file, char *val, struct obstack *stk)
{
file->error_msg (file->file_name, start_line, "missing end marker");
file->error_count++;
+ return 1;
}
+ return 0;
}
static void

Return to:

Send suggestions and report system problems to the System administrator.