338
338
if (read_line(ps, data, max_size, tmo, &len))
340
340
ps->http_status = strtol(data+9, NULL, 10);
342
343
/* Check for good status, ignore 400 (no job id found for JobCancelRequest) */
343
344
if (!((ps->http_status >= 200 && ps->http_status < 300) || ps->http_status == 400))