nsxivdd9e5da
Removed debug output
+1 −4
1 file changed
- M thumbs.c +1 −4
| @@ -82,10 +82,8 @@ Imlib_Image* tns_cache_load(const char *filename) { | |||
| 82 | 82 | cstats.st_mtim.tv_sec == fstats.st_mtim.tv_sec && | |
| 83 | 83 | cstats.st_mtim.tv_nsec == fstats.st_mtim.tv_nsec) | |
| 84 | 84 | { | |
| 85 | − | printf("cache hit: %s\n", filename); | |
| 86 | 85 | im = imlib_load_image(cfile); | |
| 87 | − | } else | |
| 88 | − | printf("cache MISS: %s\n", filename); | |
| 86 | + | } | |
| 89 | 87 | free(cfile); | |
| 90 | 88 | } | |
| 91 | 89 | ||
| @@ -127,7 +125,6 @@ void tns_cache_write(thumb_t *t, Bool force) { | |||
| 127 | 125 | TIMESPEC_TO_TIMEVAL(×[0], &fstats.st_atim); | |
| 128 | 126 | TIMESPEC_TO_TIMEVAL(×[1], &fstats.st_mtim); | |
| 129 | 127 | utimes(cfile, times); | |
| 130 | − | printf("thumbnail cache file written: %s\n", t->filename); | |
| 131 | 128 | } | |
| 132 | 129 | } | |
| 133 | 130 | free(cfile); | |