Commit e0fc39da9a4425c0e188d30502ba321ff28e8319

Vicent Marti 2011-06-29T15:11:34

config: Fix unmatched parameters in docs

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/config.h b/include/git2/config.h
index 05ff309..7500364 100644
--- a/include/git2/config.h
+++ b/include/git2/config.h
@@ -263,7 +263,7 @@ GIT_EXTERN(int) git_config_set_string(git_config *cfg, const char *name, const c
  *
  * @param cfg where to get the variables from
  * @param callback the function to call on each variable
- * @param data the data to pass to the callback
+ * @param payload the data to pass to the callback
  * @return GIT_SUCCESS or the return value of the callback which didn't return 0
  */
 GIT_EXTERN(int) git_config_foreach(