summaryrefslogtreecommitdiff
path: root/tests/diff/blob.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-09-23 18:20:17 -0400
committerEdward Thomson <ethomson@github.com>2016-05-26 13:01:06 -0500
commit040ec883a47744349c89178114f8ae2c8324ef57 (patch)
treef9c0781a3bb367db3906830836a0452748ed7cda /tests/diff/blob.c
parente2cdc145b9633ed0f7fcfdeed5eb4a7fc65653ae (diff)
downloadlibgit2-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