fix cppcheck
source4/client/http_test.c:85:3: style: Non-boolean value returned from
function returning bool [returnNonBoolInBooleanFunction]
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15924
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Anoop C S <anoopcs@samba.org>
response_size);
if (!req) {
DBG_ERR("no memory\n");
- return -1;
+ return false;
}
if (!tevent_req_set_endtime(req, ev_ctx, timeval_current_ofs(10, 0))) {