aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/nntp/camel-nntp-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/nntp/camel-nntp-folder.c')
-rw-r--r--camel/providers/nntp/camel-nntp-folder.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/camel/providers/nntp/camel-nntp-folder.c b/camel/providers/nntp/camel-nntp-folder.c
index 11faa4b561..0c4ba1691d 100644
--- a/camel/providers/nntp/camel-nntp-folder.c
+++ b/camel/providers/nntp/camel-nntp-folder.c
@@ -41,7 +41,6 @@
#include "camel-nntp-summary.h"
#include "string-utils.h"
-#include "camel-log.h"
#include "camel-stream-mem.h"
#include "camel-stream-buffer.h"
#include "gmime-utils.h"
@@ -126,13 +125,9 @@ _finalize (GtkObject *object)
{
CamelNNTPFolder *nntp_folder = CAMEL_NNTP_FOLDER (object);
- CAMEL_LOG_FULL_DEBUG ("Entering CamelFolder::finalize\n");
-
-
g_free (nntp_folder->summary_file_path);
GTK_OBJECT_CLASS (parent_class)->finalize (object);
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelFolder::finalize\n");
}
@@ -173,10 +168,6 @@ _init (CamelFolder *folder, CamelStore *parent_store,
CamelFolder *parent_folder, const gchar *name, gchar separator,
CamelException *ex)
{
-
-
- CAMEL_LOG_FULL_DEBUG ("Entering CamelNNTPFolder::init_with_store\n");
-
/* call parent method */
parent_class->init (folder, parent_store, parent_folder,
name, separator, ex);
@@ -201,8 +192,6 @@ _init (CamelFolder *folder, CamelStore *parent_store,
folder->has_uid_capability = TRUE;
folder->has_search_capability = FALSE;
folder->summary = NULL;
-
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelNNTPFolder::init_with_store\n");
}
@@ -301,20 +290,13 @@ _set_name (CamelFolder *folder, const gchar *name, CamelException *ex)
CamelNNTPFolder *nntp_folder = CAMEL_NNTP_FOLDER (folder);
const gchar *root_dir_path;
- CAMEL_LOG_FULL_DEBUG ("Entering CamelNNTPFolder::set_name\n");
-
/* call default implementation */
parent_class->set_name (folder, name, ex);
if (camel_exception_get_id (ex)) return;
root_dir_path = camel_nntp_store_get_toplevel_dir (CAMEL_NNTP_STORE(folder->parent_store));
- CAMEL_LOG_FULL_DEBUG ("CamelNNTPFolder::set_name full_name is %s\n", folder->full_name);
- CAMEL_LOG_FULL_DEBUG ("CamelNNTPFolder::set_name root_dir_path is %s\n", root_dir_path);
-
nntp_folder->summary_file_path = g_strdup_printf ("%s/%s-ev-summary", root_dir_path, folder->name);
-
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelNNTPFolder::set_name\n");
}
@@ -333,8 +315,6 @@ _exists (CamelFolder *folder, CamelException *ex)
g_assert(folder != NULL);
- CAMEL_LOG_FULL_DEBUG ("Entering CamelNNTPFolder::exists\n");
-
nntp_folder = CAMEL_NNTP_FOLDER (folder);
/* check if the nntp summary path is determined */
@@ -353,7 +333,6 @@ _exists (CamelFolder *folder, CamelException *ex)
exists = S_ISREG (stat_buf.st_mode);
/* we should check the rights here */
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelNNTPFolder::exists\n");
return exists;
#endif
return TRUE;
@@ -459,7 +438,6 @@ _get_message_count (CamelFolder *folder, CamelException *ex)
message_count = CAMEL_NNTP_SUMMARY (folder->summary)->nb_message;
- CAMEL_LOG_FULL_DEBUG ("CamelNNTPFolder::get_message_count found %d messages\n", message_count);
return message_count;
}
@@ -484,8 +462,6 @@ _append_message (CamelFolder *folder, CamelMimeMessage *message, CamelException
gint fd1, fd2;
int i;
- CAMEL_LOG_FULL_DEBUG ("Entering CamelNNTPFolder::append_message\n");
-
/* write the message itself */
output_stream = camel_stream_fs_new_with_name (tmp_message_filename,
CAMEL_STREAM_FS_WRITE);
@@ -587,7 +563,6 @@ _append_message (CamelFolder *folder, CamelMimeMessage *message, CamelException
unlink (tmp_message_filename);
g_free (tmp_message_filename);
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelNNTPFolder::append_message\n");
}
#endif
@@ -601,8 +576,6 @@ _get_uid_list (CamelFolder *folder, CamelException *ex)
GList *uid_list = NULL;
int i;
- CAMEL_LOG_FULL_DEBUG ("Entering CamelNNTPFolder::get_uid_list\n");
-
message_info_array =
CAMEL_NNTP_SUMMARY (folder->summary)->message_info;
@@ -611,8 +584,6 @@ _get_uid_list (CamelFolder *folder, CamelException *ex)
uid_list = g_list_prepend (uid_list, g_strdup (message_info->headers.uid));
}
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelNNTPFolder::get_uid_list\n");
-
return uid_list;
}
@@ -655,8 +626,6 @@ _get_message_by_uid (CamelFolder *folder, const gchar *uid, CamelException *ex)
int status;
gboolean done;
- CAMEL_LOG_FULL_DEBUG ("Entering CamelNNTPFolder::get_message_by_uid\n");
-
/* get the parent store */
parent_store = camel_folder_get_parent_store (folder, ex);
if (camel_exception_get_id (ex)) {
@@ -673,7 +642,6 @@ _get_message_by_uid (CamelFolder *folder, const gchar *uid, CamelException *ex)
CAMEL_EXCEPTION_FOLDER_INVALID_UID,
"message %s not found.",
uid);
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelNNTPFolder::get_message_by_uid\n");
return NULL;
}
@@ -714,6 +682,5 @@ _get_message_by_uid (CamelFolder *folder, const gchar *uid, CamelException *ex)
message = camel_mime_message_new ();
camel_data_wrapper_set_input_stream (CAMEL_DATA_WRAPPER (message), message_stream);
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelNNTPFolder::get_message_by_uid\n");
return message;
}