From dd9e5dabb155fb9bb06d5a8e5fd6717df1751762 Mon Sep 17 00:00:00 2001 From: Bert Date: Fri, 8 Apr 2011 19:43:27 +0200 Subject: Removed debug output --- thumbs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'thumbs.c') diff --git a/thumbs.c b/thumbs.c index abcfaaa..74ed708 100644 --- a/thumbs.c +++ b/thumbs.c @@ -82,10 +82,8 @@ Imlib_Image* tns_cache_load(const char *filename) { cstats.st_mtim.tv_sec == fstats.st_mtim.tv_sec && cstats.st_mtim.tv_nsec == fstats.st_mtim.tv_nsec) { - printf("cache hit: %s\n", filename); im = imlib_load_image(cfile); - } else - printf("cache MISS: %s\n", filename); + } free(cfile); } @@ -127,7 +125,6 @@ void tns_cache_write(thumb_t *t, Bool force) { TIMESPEC_TO_TIMEVAL(×[0], &fstats.st_atim); TIMESPEC_TO_TIMEVAL(×[1], &fstats.st_mtim); utimes(cfile, times); - printf("thumbnail cache file written: %s\n", t->filename); } } free(cfile); -- cgit v1.2.3