[Commits] [SCM] claws branch, master, updated. 3.9.3-134-g594f864

colin at claws-mail.org colin at claws-mail.org
Thu May 1 20:21:05 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  594f864375dd7441081db52aac3edcc68e18ce8d (commit)
      from  f09ae1ff789f4225465fdef33da930fac8f00191 (commit)


- Log -----------------------------------------------------------------
commit 594f864375dd7441081db52aac3edcc68e18ce8d
Author: Colin Leroy <colin at colino.net>
Date:   Thu May 1 20:20:54 2014 +0200

    fix format

diff --git a/src/imap.c b/src/imap.c
index 7bfceeb..5764922 100644
--- a/src/imap.c
+++ b/src/imap.c
@@ -1064,7 +1064,9 @@ new_conn:
 	 * successfully sent. -- mbp */
 	if ((time(NULL) - SESSION(session)->last_access_time > SESSION_TIMEOUT_INTERVAL) || session->cancelled) {
 		/* verify that the session is still alive */
-		if ((r = imap_cmd_noop(session)) != MAILIMAP_NO_ERROR) {
+		r = imap_cmd_noop(session);
+
+		if (r != MAILIMAP_NO_ERROR) {
 			debug_print("disconnected!\n");
 			if (!is_fatal(r))
 				session = imap_reconnect_if_possible(folder, session);
@@ -1491,7 +1493,7 @@ static gchar *imap_fetch_msg_full(Folder *folder, FolderItem *item, gint uid,
 				ok = file_strip_crs(filename);
 				if (ok == 0 && cached && cached->size <= have_size) {
 					/* we have it all and stripped */
-					debug_print("...fully cached in fact (%d/%d); setting flag.\n",
+					debug_print("...fully cached in fact (%u/%zd); setting flag.\n",
 							have_size, cached->size);
 					procmsg_msginfo_set_flags(cached, MSG_FULLY_CACHED, 0);
 				}
@@ -1600,7 +1602,7 @@ static gboolean imap_is_msg_fully_cached(Folder *folder, FolderItem *item, gint
 		size = get_file_size_with_crs(filename);
 	}
 	g_free(filename);
-	debug_print("msg %d cached, has size %d, full should be %d.\n", uid, size, cached->size);
+	debug_print("msg %d cached, has size %d, full should be %zd.\n", uid, size, cached->size);
 	if (cached && size >= cached->size) {
 		cached->total_size = cached->size;
 		procmsg_msginfo_set_flags(cached, MSG_FULLY_CACHED, 0);

-----------------------------------------------------------------------

Summary of changes:
 src/imap.c |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list