summaryrefslogtreecommitdiff
path: root/t/t4018/fountain-scene
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-11-01 18:03:20 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-03 22:45:45 +0900
commitf54c5bd40c0e215fc0ba196d74b092ef3ec02273 (patch)
treea869ff05fa594c7a72f9ffff3278a1ac4632579c /t/t4018/fountain-scene
parentGit 2.12.5 (diff)
downloadtgif-f54c5bd40c0e215fc0ba196d74b092ef3ec02273.tar.xz
imap-send: handle NULL return of next_arg()
next_arg() returns NULL if it runs out of arguments. Most call sites already handle that gracefully. Check in the remaining cases as well. Replace the NULL pointer with an empty string at the bottom of get_cmd_result() -- it's nicely reported as an unexpected response a few lines down. Error out explicitly at the remaining sites. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/fountain-scene')
0 files changed, 0 insertions, 0 deletions