diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-08-09 11:05:19 +0400 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-08-12 13:40:57 +0400 |
commit | 5880962d90958bc37c08c21d37c9da480ef20e7f (patch) | |
tree | 2e710422d0012d078a278ff2fd2a7d410b7fa193 /src/config_file.c | |
parent | a319ffaead9290bfe35a0f105ff17dacaf7b6e7f (diff) |
config: introduce _iterator_new()
As the name suggests, it iterates over all the entries
Diffstat (limited to 'src/config_file.c')
-rw-r--r-- | src/config_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_file.c b/src/config_file.c index 38cb9f8b8..4e564a51d 100644 --- a/src/config_file.c +++ b/src/config_file.c @@ -279,7 +279,7 @@ static int config_iterator_next( if (err < 0) { it->next_var = NULL; - return -1; + return err; } *entry = var->entry; |