Krolyxon
Commit dd9e5da

Branches

Refs →

nsxivdd9e5da

Removed debug output

Author
Bert
Date
2011-04-08 19:43 +0200
Parent
bb85d3d
Commit
dd9e5dabb155fb9bb06d5a8e5fd6717df1751762

+1 −4

1 file changed

  1. M thumbs.c +1 −4
M thumbs.c View
@@ -82,10 +82,8 @@ Imlib_Image* tns_cache_load(const char *filename) {
8282 cstats.st_mtim.tv_sec == fstats.st_mtim.tv_sec &&
8383 cstats.st_mtim.tv_nsec == fstats.st_mtim.tv_nsec)
8484 {
85− printf("cache hit: %s\n", filename);
8685 im = imlib_load_image(cfile);
87− } else
88− printf("cache MISS: %s\n", filename);
86+ }
8987 free(cfile);
9088 }
9189
@@ -127,7 +125,6 @@ void tns_cache_write(thumb_t *t, Bool force) {
127125 TIMESPEC_TO_TIMEVAL(&times[0], &fstats.st_atim);
128126 TIMESPEC_TO_TIMEVAL(&times[1], &fstats.st_mtim);
129127 utimes(cfile, times);
130− printf("thumbnail cache file written: %s\n", t->filename);
131128 }
132129 }
133130 free(cfile);