aboutsummaryrefslogtreecommitdiff
path: root/editor.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2015-03-07 11:50:29 +0100
committerJunio C Hamano <gitster@pobox.com>2015-03-09 18:17:18 -0700
commit7a646cec5bbcebad31a6e99f0279782b322ecd36 (patch)
tree6fda731d4710538b2d5090a80a61d6eb37aa3fa8 /editor.c
parent4c3dbbf7225c45ab0e04953090d0ece4a15e83a2 (diff)
downloadgit-7a646cec5bbcebad31a6e99f0279782b322ecd36.tar.gz
git-7a646cec5bbcebad31a6e99f0279782b322ecd36.tar.xz
daemon: use strbuf for hostname info
Convert hostname, canon_hostname, ip_address and tcp_port to strbuf. This allows to get rid of the helpers strbuf_addstr_or_null() and STRARG because a strbuf always represents a valid (initially empty) string. sanitize_client() is not needed anymore and sanitize_client_strbuf() takes its place and name. Helped-by: Jeff King <peff@peff.net> Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'editor.c')
0 files changed, 0 insertions, 0 deletions