From: Steinar H. Gunderson Date: Sat, 25 Aug 2007 00:34:49 +0000 (+0200) Subject: Yet more issues with the -1 width/height transformation -- this time, fix X-Git-Url: https://git.sesse.net/?p=pr0n;a=commitdiff_plain;h=6249c675acd3466bd808fb5d830027f7b9be5a9b Yet more issues with the -1 width/height transformation -- this time, fix so WebDAV uploads get cached at upload time again. --- diff --git a/perl/Sesse/pr0n/WebDAV.pm b/perl/Sesse/pr0n/WebDAV.pm index 9d57949..28ad780 100644 --- a/perl/Sesse/pr0n/WebDAV.pm +++ b/perl/Sesse/pr0n/WebDAV.pm @@ -491,7 +491,7 @@ EOF # Make cache while we're at it. # Don't do it for the resource forks Mac OS X loves to upload :-( if ($filename !~ /^\._/) { - Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, -1, -1, 1, 80, 64, 320, 256, -1, -1); + Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, undef, undef, 1, 80, 64, 320, 256, -1, -1); } # OK, we got this far, commit @@ -622,7 +622,7 @@ EOF or die "/usr/bin/exifautotran: $!"; # Make cache while we're at it. - Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, -1, -1, 1, 80, 64, 320, 256, -1, -1); + Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, undef, undef, 1, 80, 64, 320, 256, -1, -1); # OK, we got this far, commit $dbh->commit;