The correct semantic is to check msgbuf_write() for <= 0, not just < 0.
authorreyk <reyk@openbsd.org>
Thu, 11 Jun 2015 19:25:53 +0000 (19:25 +0000)
committerreyk <reyk@openbsd.org>
Thu, 11 Jun 2015 19:25:53 +0000 (19:25 +0000)
commitd9530a0e53698e31b02c815be6df6005b4a160c7
tree236964a5d802f0ff70b12a8d32e3deba6a3b3758
parenta3e464c5f2b0fe1ee4d1db6136e1d1e063cdc4b9
The correct semantic is to check msgbuf_write() for <= 0, not just < 0.
Fix one occurence in imsg_flush() and clarify it the man page.

Discussed with at least blambert@ jsg@ yasuoka@.

OK gilles@
lib/libutil/imsg.c
lib/libutil/imsg_init.3