- changed select calls to newly indroduced uselect
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
#include <ghttp.h>
|
||||
#include <sicsdata.h>
|
||||
#include <HistMem.h>
|
||||
#include "uselect.h"
|
||||
/*---------------------------------------------------------------------*/
|
||||
typedef struct {
|
||||
ghttp_request *request;
|
||||
@ -130,7 +131,7 @@ static int HttpHandler(Ascon *a) {
|
||||
socke = ghttp_get_socket(pHttp->request);
|
||||
FD_ZERO(&rmask);
|
||||
FD_SET(socke,&rmask);
|
||||
selStat = select(socke+1,&rmask, NULL, NULL, &tmo);
|
||||
selStat = uselect(socke+1,&rmask, NULL, NULL, &tmo);
|
||||
if(selStat != 0){
|
||||
status = ghttp_process(pHttp->request);
|
||||
a->state = AsconReading;
|
||||
|
Reference in New Issue
Block a user