netutils/webserver: improve modularity of httpd single server
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
f15605da2f
commit
f7448f848b
@ -809,7 +809,7 @@ static void single_server(uint16_t portno, pthread_startroutine_t handler,
|
|||||||
|
|
||||||
/* Handle the request. This blocks until complete. */
|
/* Handle the request. This blocks until complete. */
|
||||||
|
|
||||||
httpd_handler((FAR void *)acceptsd);
|
handler((FAR void *)acceptsd);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Close the sockets */
|
/* Close the sockets */
|
||||||
|
Loading…
Reference in New Issue
Block a user