summaryrefslogtreecommitdiff
path: root/src/remote.c
diff options
context:
space:
mode:
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 d54d8c7d8..74c5afad5 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -93,7 +93,7 @@ int git_remote_get(git_remote **out, git_config *cfg, const char *name)
}
/* "fetch" is the longest var name we're interested in */
- buf_len = STRLEN("remote.") + STRLEN(".fetch") + strlen(name) + 1;
+ buf_len = strlen("remote.") + strlen(".fetch") + strlen(name) + 1;
buf = git__malloc(buf_len);
if (buf == NULL) {
error = GIT_ENOMEM;