mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 01:58:46 +00:00
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
This commit is contained in:
parent
b434692db2
commit
6ce38b7395
Loading…
Reference in New Issue
Block a user