From: Steinar H. Gunderson Date: Sat, 28 Nov 2015 13:46:13 +0000 (+0100) Subject: Unbreak file uploading. X-Git-Url: https://git.sesse.net/?p=pr0n;a=commitdiff_plain;h=5e566ec44c046faca8700f7326188f3e7325f056 Unbreak file uploading. --- diff --git a/perl/Sesse/pr0n/WebDAV.pm b/perl/Sesse/pr0n/WebDAV.pm index 84abaca..fb365e7 100644 --- a/perl/Sesse/pr0n/WebDAV.pm +++ b/perl/Sesse/pr0n/WebDAV.pm @@ -493,7 +493,7 @@ EOF if ($filename !~ /^\.(_|DS_Store)/) { # FIXME: Ideally we'd want to ensure cache of -1x-1 here as well (for NEFs), but that would # preclude mipmapping in its current form. - Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, undef, undef, "nobox", 1, 80, 64, 320, 256); + Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, undef, undef, 0, 1, 80, 64, 320, 256); } # OK, we got this far, commit