diff options
author | Edward Thomson <ethomson@microsoft.com> | 2015-09-23 18:20:17 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2016-05-26 13:01:06 -0500 |
commit | 040ec883a47744349c89178114f8ae2c8324ef57 (patch) | |
tree | f9c0781a3bb367db3906830836a0452748ed7cda /tests/diff/blob.c | |
parent | e2cdc145b9633ed0f7fcfdeed5eb4a7fc65653ae (diff) | |
download | libgit2-040ec883a47744349c89178114f8ae2c8324ef57.tar.gz |
patch: use strlen to mean string length
`oid_strlen` has meant one more than the length of the string.
This is mighty confusing. Make it mean only the string length!
Whomsoever needs to allocate a buffer to hold a string can null
terminate it like normal.
Diffstat (limited to 'tests/diff/blob.c')
0 files changed, 0 insertions, 0 deletions