mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-27 18:43:11 +01:00
0646b3caf2
Remove XXX comment and just close received fd if calloc() fails. If this happens the imsg may no longer be usable as there may be queued messages, but this is a) already the case with the code now, and b) would be the case if recvmsg() fails anyway, so we can document that -1 from imsg_read() invalidates the struct imsgbuf. discussed with and ok eric |
||
---|---|---|
.. | ||
asprintf.c | ||
bitstring.h | ||
daemon.c | ||
fgetln.c | ||
forkpty-aix.c | ||
forkpty-sunos.c | ||
getopt.c | ||
imsg-buffer.c | ||
imsg.c | ||
imsg.h | ||
queue.h | ||
strcasestr.c | ||
strlcat.c | ||
strlcpy.c | ||
strsep.c | ||
strtonum.c | ||
tree.h | ||
unvis.c | ||
vis.c | ||
vis.h |