aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2004-07-14 23:45:07 +0800
committerDan Winship <danw@src.gnome.org>2004-07-14 23:45:07 +0800
commitff09779a903d095b7912740a40904ffa0c31227e (patch)
tree8e62a50c43fd069bae6f89c23b10626625957f03
parent5b61aaf875ab040a1f0074b3a30bf484826b4476 (diff)
downloadgsoc2013-evolution-ff09779a903d095b7912740a40904ffa0c31227e.tar
gsoc2013-evolution-ff09779a903d095b7912740a40904ffa0c31227e.tar.gz
gsoc2013-evolution-ff09779a903d095b7912740a40904ffa0c31227e.tar.bz2
gsoc2013-evolution-ff09779a903d095b7912740a40904ffa0c31227e.tar.lz
gsoc2013-evolution-ff09779a903d095b7912740a40904ffa0c31227e.tar.xz
gsoc2013-evolution-ff09779a903d095b7912740a40904ffa0c31227e.tar.zst
gsoc2013-evolution-ff09779a903d095b7912740a40904ffa0c31227e.zip
debugify a few more printfs
svn path=/trunk/; revision=26649
-rw-r--r--e-util/e-mktemp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/e-util/e-mktemp.c b/e-util/e-mktemp.c
index 9e5b8f7ba0..67a9a5adf8 100644
--- a/e-util/e-mktemp.c
+++ b/e-util/e-mktemp.c
@@ -82,16 +82,16 @@ expire_dir_rec(const char *base, time_t now)
&& st.st_atime + TEMP_EXPIRE < now) {
if (S_ISDIR(st.st_mode)) {
if (expire_dir_rec(path->str, now) == 0) {
- printf("Removing dir '%s'\n", path->str);
+ d(printf("Removing dir '%s'\n", path->str));
rmdir(path->str);
} else {
count++;
}
} else if (unlink(path->str) == -1) {
- printf("expiry failed: %s\n", strerror(errno));
+ d(printf("expiry failed: %s\n", strerror(errno)));
count++;
} else {
- printf("expired %s\n", path->str);
+ d(printf("expired %s\n", path->str));
}
} else {
count++;