From bef39dc4e0bbdb334fef71f973bcb7781dce65df Mon Sep 17 00:00:00 2001 From: 9 Date: Wed, 19 Sep 2001 08:28:36 +0000 Subject: General cleanup of camel debug printfs. 2001-09-19 * General cleanup of camel debug printfs. * camel-lock.c (camel_lock_fcntl): Changed to return 'success' if the error indicates file locking isn't supported on this filesystem. Still return a warning just incase (if its the first time). Might fix a lot of reported bugs. * providers/local/camel-spool-store.c (get_folder_info): Dont include the empty // host part in the uri. This 'breaks' the service lookup. svn path=/trunk/; revision=12973 --- camel/camel-vee-folder.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'camel/camel-vee-folder.c') diff --git a/camel/camel-vee-folder.c b/camel/camel-vee-folder.c index b001536bd8..31c50a52ae 100644 --- a/camel/camel-vee-folder.c +++ b/camel/camel-vee-folder.c @@ -215,7 +215,7 @@ camel_vee_folder_construct(CamelVeeFolder *vf, CamelStore *parent_store, const c if (folder_unmatched == NULL) { unmatched_uids = g_hash_table_new (g_str_hash, g_str_equal); folder_unmatched = (CamelVeeFolder *)camel_object_new (camel_vee_folder_get_type ()); - printf("created foldeer unmatched %p\n", folder_unmatched); + d(printf("created foldeer unmatched %p\n", folder_unmatched)); vee_folder_construct (folder_unmatched, parent_store, "UNMATCHED", CAMEL_STORE_FOLDER_PRIVATE); } @@ -246,7 +246,7 @@ camel_vee_folder_new(CamelStore *parent_store, const char *name, guint32 flags) if (folder_unmatched == NULL) { unmatched_uids = g_hash_table_new(g_str_hash, g_str_equal); folder_unmatched = vf = (CamelVeeFolder *)camel_object_new(camel_vee_folder_get_type()); - printf("created foldeer unmatched %p\n", folder_unmatched); + d(printf("created foldeer unmatched %p\n", folder_unmatched)); vee_folder_construct (vf, parent_store, "UNMATCHED", CAMEL_STORE_FOLDER_PRIVATE); } @@ -254,14 +254,14 @@ camel_vee_folder_new(CamelStore *parent_store, const char *name, guint32 flags) if (strcmp(name, "UNMATCHED") == 0) { camel_object_ref((CamelObject *)folder_unmatched); - printf("returning unmatched %p, count = %d\n", folder_unmatched, camel_folder_get_message_count((CamelFolder *)folder_unmatched)); + d(printf("returning unmatched %p, count = %d\n", folder_unmatched, camel_folder_get_message_count((CamelFolder *)folder_unmatched))); return (CamelFolder *)folder_unmatched; } vf = (CamelVeeFolder *)camel_object_new(camel_vee_folder_get_type()); vee_folder_construct(vf, parent_store, name, flags); - printf("returning folder %s %p, count = %d\n", name, vf, camel_folder_get_message_count((CamelFolder *)vf)); + d(printf("returning folder %s %p, count = %d\n", name, vf, camel_folder_get_message_count((CamelFolder *)vf))); return (CamelFolder *)vf; } @@ -608,7 +608,7 @@ vee_folder_add_info(CamelVeeFolder *vf, CamelFolder *f, CamelMessageInfo *info, uid = g_strdup_printf("%.8s%s", hash, camel_message_info_uid(info)); dinfo = camel_folder_summary_uid(folder->summary, uid); if (dinfo) { - (printf("w:clash, we already have '%s' in summary\n", uid)); + d(printf("w:clash, we already have '%s' in summary\n", uid)); g_free(uid); camel_folder_summary_info_free(folder->summary, dinfo); return NULL; -- cgit