diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-03-31 02:06:41 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-03-31 02:06:41 +0300 |
commit | 3c7230c191ade30d5b9c8ef02a019ba42ab519f5 (patch) | |
tree | 7e85927e11ae604020c547cfe62c3aaa18cfe6f8 /src/site.c | |
parent | c251b0d5a905f19498e1d3312041b794e57fd2f8 (diff) | |
download | revela-0.1.0.tar.gz revela-0.1.0.zip |
Ready for packagingv0.1.0
* Documentation
* make install/uninstall
* roscha truthy fix
* Other fixes/improvements
Diffstat (limited to 'src/site.c')
-rw-r--r-- | src/site.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -86,10 +86,6 @@ optimize_image(MagickWand *wand, const char *dst, const struct image_config *conf, const struct timespec *srcmtim, bool dry) { - int update = file_is_uptodate(dst, srcmtim); - if (update == -1) return false; - if (update == 1) return true; - log_printl(LOG_DETAIL, "Converting %s", dst); if (dry) goto out; @@ -413,6 +409,7 @@ site_deinit(struct site *site) site_config_destroy(site->config); free(site->content_dir); free(site->root_dir); + free(site->output_dir); if (site->wand != NULL) { DestroyMagickWand(site->wand); DestroyMagick(); |