2003-09-22  Not Zed  <NotZed@Ximian.com>

        ** See bug #41610

        * providers/pop3/camel-pop3-folder.c (cmd_tocache): protect a
        divide by 0 for 0 length messages.

svn path=/trunk/; revision=22654
This commit is contained in:
Not Zed
2003-09-23 01:02:23 +00:00
committed by Michael Zucci
parent bd44c72b2b
commit 98cf0ad5f5
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2003-09-22 Not Zed <NotZed@Ximian.com>
** See bug #41610
* providers/pop3/camel-pop3-folder.c (cmd_tocache): protect a
divide by 0 for 0 length messages.
2003-09-22 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-provider.c: Added "offline_sync"

View File

@ -365,6 +365,7 @@ cmd_tocache(CamelPOP3Engine *pe, CamelPOP3Stream *stream, void *data)
w += n;
if (w > fi->size)
w = fi->size;
if (fi->size != 0)
camel_operation_progress(NULL, (w * 100) / fi->size);
}