diff options
Diffstat (limited to 'src/config_backend.h')
-rw-r--r-- | src/config_backend.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config_backend.h b/src/config_backend.h index 2451f9a1c..6d678ae43 100644 --- a/src/config_backend.h +++ b/src/config_backend.h @@ -30,8 +30,9 @@ extern int git_config_backend_from_file(git_config_backend **out, const char *pa * * @param out the new backend * @param cfg the configuration that is to be parsed + * @param len the length of the string pointed to by `cfg` */ -extern int git_config_backend_from_string(git_config_backend **out, const char *cfg); +extern int git_config_backend_from_string(git_config_backend **out, const char *cfg, size_t len); GIT_INLINE(int) git_config_backend_open(git_config_backend *cfg, unsigned int level, const git_repository *repo) { |