summaryrefslogtreecommitdiff
path: root/remote-curl.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2014-08-30 18:14:24 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-09-02 12:26:23 -0700
commitba9b9e124276e5d27ecf0e7701df1dedab6375c8 (patch)
treefb05b9c3724329c1c08468f96db4b959be27176e /remote-curl.c
parentimap-send.c: imap_folder -> imap_server_conf.folder (diff)
downloadtgif-ba9b9e124276e5d27ecf0e7701df1dedab6375c8.tar.xz
imap-send: simplify v_issue_imap_cmd() and get_cmd_result() using starts_with()
Use starts_with() instead of memcmp() to check if NUL-terminated strings match prefixes. This gets rid of some magic string length constants. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote-curl.c')
0 files changed, 0 insertions, 0 deletions