Baptiste Daroussin f9eac42577 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.

Obtained from:	OpenBSD
MFC after:	3 days
2020-01-14 08:18:04 +00:00
..
2018-06-09 21:09:24 +00:00
2020-01-14 08:16:15 +00:00
2018-06-12 16:42:11 +00:00