1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-23 19:39:06 +00:00
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@639 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2006-05-16 03:38:02 +00:00
parent b2bd458834
commit 1e882092e3

View File

@ -1224,6 +1224,7 @@ void *imap_thread(struct mail_s* mail)
while (threads_runnable == run_code && fail < 5) {
if (fail > 0) {
ERR("Trying IMAP connection again for %s@%s (try %i/5)", mail->user, mail->host, fail + 1);
sleep((int)mail->interval);
}
update_time = get_time();
if ((sockfd = socket(PF_INET, SOCK_STREAM, 0)) == -1) {
@ -1424,6 +1425,7 @@ void *pop3_thread(struct mail_s *mail)
while (threads_runnable == run_code && fail < 5) {
if (fail > 0) {
ERR("Trying POP3 connection again for %s@%s (try %i/5)", mail->user, mail->host, fail + 1);
sleep((int)mail->interval);
}
update_time = get_time();
if ((sockfd = socket(PF_INET, SOCK_STREAM, 0)) == -1) {