1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-23 19:39:06 +00:00

* Zero out imap and pop3 stuff when the connection fails

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@960 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2007-09-02 04:36:09 +00:00
parent cccd902534
commit 965031790a
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@
* Added 'music_player_interval' config option to specify an update interval for
music player threads (currently honored by mpd and audacious).
* Fixed some minor memory leaks associated with SIGUSR1
* Zero out imap and pop3 stuff when the connection fails
2007-08-31
* _Really_ fix mpd SIGPIPE issues

View File

@ -1560,6 +1560,8 @@ next_iteration:
if (timed_thread_test (mail->p_timed_thread))
timed_thread_exit (mail->p_timed_thread);
}
mail->unseen = 0;
mail->messages = 0;
return 0;
}
@ -1763,6 +1765,8 @@ next_iteration:
if (timed_thread_test (mail->p_timed_thread))
timed_thread_exit (mail->p_timed_thread);
}
mail->unseen = 0;
mail->used = 0;
return 0;
}