diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-11-10 04:44:04 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-11-10 04:44:04 +0000 |
commit | 5635cc2b41f14dcb2538915c4b3e89ba98a170b1 (patch) | |
tree | a7e705a994f8302edf1468ad452d31f692a15b4e | |
parent | 3f401c36fd71a93b780fdf8f63686d324b7812bd (diff) |
removed redundant debug print.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2341 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libsylph/mh.c | 18 | ||||
-rw-r--r-- | src/inc.c | 3 |
3 files changed, 14 insertions, 12 deletions
@@ -1,5 +1,10 @@ 2009-11-09 + * libsylph/mh.c + src/inc.c: removed redundant debug print. + +2009-11-09 + * libsylph/imap.c: imap_get_msginfo(): SELECT before FETCH (fixed opening message by syl_plugin_open_message(). diff --git a/libsylph/mh.c b/libsylph/mh.c index 6141abbe..d3be1cf7 100644 --- a/libsylph/mh.c +++ b/libsylph/mh.c @@ -48,8 +48,8 @@ #if USE_THREADS G_LOCK_DEFINE_STATIC(mh); -#define S_LOCK(name) {G_LOCK(name); g_print("mh: lock\n");} -#define S_UNLOCK(name) {G_UNLOCK(name); g_print("mh: unlock\n");} +#define S_LOCK(name) G_LOCK(name) +#define S_UNLOCK(name) G_UNLOCK(name) #else #define S_LOCK(name) #define S_UNLOCK(name) @@ -228,7 +228,7 @@ static GSList *mh_get_msg_list_full(Folder *folder, FolderItem *item, g_return_val_if_fail(item != NULL, NULL); - S_LOCK(mh) + S_LOCK(mh); #ifdef MEASURE_TIME timer = g_timer_new(); @@ -312,27 +312,27 @@ static GSList *mh_get_msg_list_full(Folder *folder, FolderItem *item, if (newlist == NULL) { procmsg_msg_list_free(mlist); - S_UNLOCK(mh) + S_UNLOCK(mh); return NULL; } if (mlist == newlist) { - S_UNLOCK(mh) + S_UNLOCK(mh); return newlist; } for (cur = mlist; cur != NULL; cur = cur->next) { if (cur->next == newlist) { cur->next = NULL; procmsg_msg_list_free(mlist); - S_UNLOCK(mh) + S_UNLOCK(mh); return newlist; } } procmsg_msg_list_free(mlist); - S_UNLOCK(mh) + S_UNLOCK(mh); return NULL; } - S_UNLOCK(mh) + S_UNLOCK(mh); return mlist; } @@ -476,7 +476,7 @@ static gint mh_add_msgs(Folder *folder, FolderItem *dest, GSList *file_list, if (dest->last_num < 0) return -1; } - S_LOCK(mh) + S_LOCK(mh); if (!dest->opened) { if ((fp = procmsg_open_mark_file(dest, DATA_APPEND)) == NULL) @@ -1192,8 +1192,6 @@ static gint inc_drop_message(Pop3Session *session, const gchar *file) g_return_val_if_fail(inc_session != NULL, DROP_ERROR); - g_print("inc_drop_message\n"); - gdk_threads_enter(); if (session->ac_prefs->inbox) { @@ -1303,7 +1301,6 @@ static gint inc_drop_message(Pop3Session *session, const gchar *file) filter_info_free(fltinfo); gdk_threads_leave(); - g_print("inc_drop_message done\n"); return val; } |