Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-08-09 11:05:19 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2013-08-12 13:40:57 +0400
commit5880962d90958bc37c08c21d37c9da480ef20e7f (patch)
tree2e710422d0012d078a278ff2fd2a7d410b7fa193 /src/config_file.c
parenta319ffaead9290bfe35a0f105ff17dacaf7b6e7f (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.c2
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;