Show
Ignore:
Timestamp:
10/07/04 22:18:21 (9 years ago)
Author:
alexcv
Message:

Fixed bug in mark_auth_server_bad when there's only one auth server

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog/src/conf.c

    r219 r238  
    497497        pthread_mutex_lock(&config_mutex); 
    498498 
    499         if (config.auth_servers == bad_server) { 
     499        if (config.auth_servers == bad_server && bad_server->next != NULL) { 
    500500                /* Go to the last */ 
    501501                for (tmp = config.auth_servers; tmp->next != NULL; tmp = tmp->next);