nicm
b70ec51c0d
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 |
14 years ago | |
---|---|---|
src | Remove XXX comment and just close received fd if calloc() fails. | 14 years ago |