return ERANGE instead of ENOMEM, so callers can differentiate real oom
authorbenno <benno@openbsd.org>
Thu, 25 Dec 2014 22:20:52 +0000 (22:20 +0000)
committerbenno <benno@openbsd.org>
Thu, 25 Dec 2014 22:20:52 +0000 (22:20 +0000)
commitec2a4e0ffccc34360c4f69d28ae1a71cb6ee178a
tree37d1716ac024143104a9971d81ba357af84b3138
parent110b30cead934ff8a63389290847e3c19b5a570b
return ERANGE instead of ENOMEM, so callers can differentiate real oom
from this case where we have a static buffer and cant realloc.

ok phessler, claudio, reyk
lib/libutil/imsg-buffer.c