aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-movemail.c
diff options
context:
space:
mode:
author9 <NotZed@Ximian.com>2001-09-19 16:28:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-19 16:28:36 +0800
commitbef39dc4e0bbdb334fef71f973bcb7781dce65df (patch)
treefbb2c1a5fc3d24232d34dbce01edd587e8b84002 /camel/camel-movemail.c
parentd9775521cad4588963b2edb297551c85fae1459f (diff)
downloadgsoc2013-evolution-bef39dc4e0bbdb334fef71f973bcb7781dce65df.tar.gz
gsoc2013-evolution-bef39dc4e0bbdb334fef71f973bcb7781dce65df.tar.zst
gsoc2013-evolution-bef39dc4e0bbdb334fef71f973bcb7781dce65df.zip
General cleanup of camel debug printfs.
2001-09-19 <NotZed@Ximian.com> * 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
Diffstat (limited to 'camel/camel-movemail.c')
-rw-r--r--camel/camel-movemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-movemail.c b/camel/camel-movemail.c
index fec8e5fc10..35918105aa 100644
--- a/camel/camel-movemail.c
+++ b/camel/camel-movemail.c
@@ -367,7 +367,7 @@ camel_movemail_copy_filter(int fromfd, int tofd, off_t start, size_t bytes, Came
if (towrite == -1)
return -1;
- printf("read %d unfiltered bytes\n", towrite);
+ d(printf("read %d unfiltered bytes\n", towrite));
/* check for 'end of file' */
if (towrite == 0) {
@@ -383,7 +383,7 @@ camel_movemail_copy_filter(int fromfd, int tofd, off_t start, size_t bytes, Came
towrite = filterlen;
}
- printf("writing %d filtered bytes\n", towrite);
+ d(printf("writing %d filtered bytes\n", towrite));
do {
toread = write(tofd, filterbuffer, towrite);