Skip to content
Snippets Groups Projects
Commit 9e879891 authored by rswindell's avatar rswindell
Browse files

Fixed bcc compile error.

parent a994e254
Branches
Tags
No related merge requests found
...@@ -1179,7 +1179,10 @@ static BOOL get_req(http_session_t * session) ...@@ -1179,7 +1179,10 @@ static BOOL get_req(http_session_t * session)
char req_line[MAX_REQUEST_LINE]; char req_line[MAX_REQUEST_LINE];
char * p; char * p;
fd_set sockset; fd_set sockset;
struct timeval tv={startup->max_inactivity,0}; struct timeval tv;
tv.tv_sec=startup->max_inactivity;
tv.tv_usec=0;
FD_ZERO(&sockset); FD_ZERO(&sockset);
FD_SET(session->socket,&sockset); FD_SET(session->socket,&sockset);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment