summaryrefslogtreecommitdiffstats
path: root/cmd-join-pane.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-04-07 18:09:39 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-04-07 18:09:39 +0000
commita2c86dcbf6464634ebbc63ef1cd2966b8ef132f9 (patch)
tree1e80d73ceb1a54956be5edc14220ba5a62c965e8 /cmd-join-pane.c
parentac9daf92d72210570dc9cb63fd0058e4ff50b7a5 (diff)
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
Diffstat (limited to 'cmd-join-pane.c')
0 files changed, 0 insertions, 0 deletions