aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-11-10 04:44:04 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-11-10 04:44:04 +0000
commit5635cc2b41f14dcb2538915c4b3e89ba98a170b1 (patch)
treea7e705a994f8302edf1468ad452d31f692a15b4e /libsylph
parent3f401c36fd71a93b780fdf8f63686d324b7812bd (diff)
removed redundant debug print.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2341 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/mh.c18
1 files changed, 9 insertions, 9 deletions
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)