respondd: format
This commit is contained in:
parent
7574c29b56
commit
aa1649abbf
|
@ -468,7 +468,7 @@ static void accept_request(struct request_schedule *schedule, int sock,
|
||||||
strcpy(new_task->request, input);
|
strcpy(new_task->request, input);
|
||||||
memcpy(&new_task->client_addr, &addr, addrlen);
|
memcpy(&new_task->client_addr, &addr, addrlen);
|
||||||
|
|
||||||
if(!schedule_push_request(schedule, new_task)) {
|
if (!schedule_push_request(schedule, new_task)) {
|
||||||
free(new_task);
|
free(new_task);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue