- changed select calls to newly indroduced uselect

This commit is contained in:
zolliker
2008-10-16 13:54:02 +00:00
parent e36e62d881
commit 5cb057f645

View File

@ -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;