summaryrefslogtreecommitdiff
path: root/src/remote.c
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-08-28 06:04:51 -0700
committerVicent Martí <vicent@github.com>2013-08-28 06:04:51 -0700
commitb8b22d774eca054fe43005accd6f3ff58fc1fb62 (patch)
tree69d507f28a168f4f7f4cd3172e331403ff14e36e /src/remote.c
parent21a3bbe419e8edb8a119f5c2a2de85f462078d3d (diff)
parentf4be8209afd3cc996667196a1e437aac21485691 (diff)
downloadlibgit2-b8b22d774eca054fe43005accd6f3ff58fc1fb62.tar.gz
Merge pull request #1772 from libgit2/config-iter
Configuration iterators redux
Diffstat (limited to 'src/remote.c')
-rw-r--r--src/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.c b/src/remote.c
index 7677e56b2..671075bb7 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -242,7 +242,7 @@ static int get_optional_config(
return -1;
if (cb != NULL)
- error = git_config_get_multivar(config, key, NULL, cb, payload);
+ error = git_config_get_multivar_foreach(config, key, NULL, cb, payload);
else
error = git_config_get_string(payload, config, key);