Revision 1786

trunk/nntpgrab_core/download_thread.c (revision 1786)
290 290
    int connection_id;
291 291
    time_t stamp_last_queued_item_found = time(NULL);
292 292
    gboolean nothing_to_download;
293
    gboolean connection_error_occured;
293
    gboolean connection_error_occured = FALSE;
294 294

                
295 295
    g_return_val_if_fail(config != NULL, NULL);
296 296

                
... ...
361 361
        g_static_mutex_unlock(&thread_mutex);
362 362

                
363 363
        /* When there are idle/inactive connections, check the download queue whether we need to download something */
364
        connection_error_occured = FALSE;
365 364
        curr_time = time(NULL);
366 365
        prev_server_id = -1;
367 366
        list = active_connections;
... ...
392 391
                connection_error_occured = TRUE;
393 392
                list = g_list_next(list);
394 393
                continue;
394
            } else {
395
                connection_error_occured = FALSE;
395 396
            }
396 397

                
397 398
            /* Have we already checked this connection recently? */

Also available in: Unified diff