summaryrefslogtreecommitdiff
path: root/toxcore/onion_announce.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-10 13:22:07 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-10 18:57:29 +0000
commita3079e82ddda90055d7247f000a8e9afa7f8a5c5 (patch)
tree73c072bfda6f0f2a48846ee9c8b66fd3e621c94b /toxcore/onion_announce.c
parent2e33ab26df4356c40a4c9b636f99a7bfbdc7838c (diff)
Fix file descriptor leak in hstox test.
We return E_WRITE because closing only fails when an I/O error occurs, which is likely an error from the write() call above. See close(2) for details. http://man7.org/linux/man-pages/man2/close.2.html
Diffstat (limited to 'toxcore/onion_announce.c')
0 files changed, 0 insertions, 0 deletions