summaryrefslogtreecommitdiff
path: root/nchan.c
diff options
context:
space:
mode:
authorderaadt@openbsd.org <deraadt@openbsd.org>2019-06-28 05:44:09 +0000
committerDamien Miller <djm@mindrot.org>2019-07-02 15:59:26 +1000
commite8c974043c1648eab0ad67a7ba6a3e444fe79d2d (patch)
treef3225ab6ddb116f732cb46571197e52c2f54f21c /nchan.c
parent1b2d55d15c6240c15a1e1cf4203b82e54a766272 (diff)
upstream: asprintf returns -1, not an arbitrary value < 0. Also
upon error the (very sloppy specification) leaves an undefined value in *ret, so it is wrong to inspect it, the error condition is enough. discussed a little with nicm, and then much more with millert until we were exasperated OpenBSD-Commit-ID: 29258fa51edf8115d244b9d4b84028487bf8923e
Diffstat (limited to 'nchan.c')
0 files changed, 0 insertions, 0 deletions