summaryrefslogtreecommitdiff
path: root/oidset.h
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-03-28 15:47:00 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-30 14:59:50 -0700
commit8c5acfb923a94dc746baa4eef8454cb4c4f18270 (patch)
treee35bb4589dd528675946667e1f0300d16f89ac68 /oidset.h
parentconvert unchecked snprintf into xsnprintf (diff)
downloadtgif-8c5acfb923a94dc746baa4eef8454cb4c4f18270.tar.xz
transport-helper: replace checked snprintf with xsnprintf
We can use xsnprintf to do our truncation check with less code. The error message isn't as specific, but the point is that this isn't supposed to trigger in the first place (because our buffer is big enough to handle any int). Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'oidset.h')
0 files changed, 0 insertions, 0 deletions