Changeset 24

Show
Ignore:
Timestamp:
03/13/04 19:38:47 (5 years ago)
Author:
minaguib
Message:

Bugfix 100% CPU usage

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/incorporate_libhttpd/wifidog/src/gateway.c

    r23 r24  
    5555 
    5656    last_checked = time(NULL); 
    57          tv.tv_sec = config.checkinterval; 
    58          tv.tv_usec = 0; 
    5957 
    6058    debug(D_LOG_DEBUG, "Waiting for connections"); 
    6159    while(1) { 
     60                 tv.tv_sec = config.checkinterval; 
     61                 tv.tv_usec = 0; 
    6262                  result = httpdGetConnection(webserver, &tv); 
    6363                  if (result < 0) {