]> git.ipfire.org Git - thirdparty/curl.git/commit
tests/server/tftpd.c: close upload file in case of abort
authorMarc Hoersken <info@marc-hoersken.de>
Tue, 24 Nov 2020 19:49:09 +0000 (20:49 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Sat, 28 Nov 2020 18:19:18 +0000 (19:19 +0100)
commit227daceabe7a8acd411cb8220d1b67d0d920bfc6
tree2c8aae8ddd97b964373f727fe1a6b9e1ee1424a0
parentc7b02c5d680021f21aebdf41cb336a742fdad664
tests/server/tftpd.c: close upload file in case of abort

Commit c353207 removed the closing right after do_tftp
which covered the case of abort. This handles that case.

Reviewed-by: Jay Satiro
Reviewed-by: Daniel Stenberg
Follow up to #6209
Closes #6234
tests/server/tftpd.c