From 6249c675acd3466bd808fb5d830027f7b9be5a9b Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 25 Aug 2007 02:34:49 +0200 Subject: [PATCH 1/1] Yet more issues with the -1 width/height transformation -- this time, fix so WebDAV uploads get cached at upload time again. --- perl/Sesse/pr0n/WebDAV.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2