diff options
author | Vicent Martà <tanoku@gmail.com> | 2011-08-25 20:42:03 -0700 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2011-08-25 20:42:03 -0700 |
commit | 420cbdc24d0ad96066d7567e9181faec45e61aad (patch) | |
tree | 14d3f754554d7ba71fef18a3becc11b50cace7b0 /src/commit.c | |
parent | a7e34e3c854aaed77ede8558ff253716bc4c80a2 (diff) | |
parent | 85b91652018867d67642cb3207084561b85969af (diff) | |
download | libgit2-420cbdc24d0ad96066d7567e9181faec45e61aad.tar.gz |
Merge pull request #379 from kiryl/STRLEN
Drop STRLEN() macros
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c index 00e18b832..dc9e5362a 100644 --- a/src/commit.c +++ b/src/commit.c @@ -225,7 +225,7 @@ int commit_parse_buffer(git_commit *commit, const void *data, size_t len) if (git__prefixcmp(buffer, "encoding ") == 0) { const char *encoding_end; - buffer += STRLEN("encoding "); + buffer += strlen("encoding "); encoding_end = buffer; while (encoding_end < buffer_end && *encoding_end != '\n') |