commit | d944344f01d9ea914d94c45f6ac7c224c6143fc9 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Oct 15 11:18:03 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Oct 15 13:24:43 2018 +0200 |
tree | bcd67d4b08767b2558160b3e5ba9fadb17eaacf4 | |
parent | 848522f05df9e60eea9274e11f1e9fcd19594a5c [diff] |
BUILD: peers: check allocation error during peers_init_sync() peers_init_sync() doesn't check task_new()'s return value and doesn't return any result to indicate success or failure. Let's make it return an int and check it from the caller. This can be backported as far as 1.6.