cleadcn up code
This commit is contained in:
@ -95,7 +95,6 @@ static int inc_ntask_cgis (hio_svc_htts_t* htts)
|
||||
if (ntask_cgis >= htts->option.task_cgi_max)
|
||||
{
|
||||
hio_seterrbfmt (htts->hio, HIO_ENOCAPA, "too many cgi tasks");
|
||||
printf ("too many cgi task....\n");
|
||||
return -1;
|
||||
}
|
||||
ok = HCL_ATOMIC_CMP_XCHG(&htts->stat.ntask_cgis, &ntask_cgis, ntask_cgis + 1);
|
||||
|
@ -51,7 +51,6 @@ static int inc_ntasks (hio_svc_htts_t* htts)
|
||||
if (ntasks >= htts->option.task_max)
|
||||
{
|
||||
hio_seterrbfmt (htts->hio, HIO_ENOCAPA, "too many tasks");
|
||||
printf ("too many tasks...\n");
|
||||
return -1;
|
||||
}
|
||||
ok = HCL_ATOMIC_CMP_XCHG(&htts->stat.ntasks, &ntasks, ntasks + 1);
|
||||
|
Reference in New Issue
Block a user