HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] bug in bin/common-functions



I had a problem converting pdf to tiff when sending notifications. It
turned out to be an omitted out parameter in ConvertFile().

Patch attached ... hylafax bugzilla seems to be down currently.

so long

Jörn Dreyer
--- bin/common-functions.org	2010-03-29 14:18:15.000000000 +0200
+++ bin/common-functions	2010-03-29 14:01:38.000000000 +0200
@@ -621,7 +621,7 @@
 	    	PDF|pdf)
 		    TraceLog "Using pdf2fax"
 		    name="`basename $1 .pdf`"
-		    $PDF2FAX -r $resolution $1 $TMPDIR/$name.tif
+		    $PDF2FAX -r $resolution -o $TMPDIR/$name.tif $1
 		    echo "$TMPDIR/$name.tif"
 		    ;;
 		TIFF|tiff|TIF|tif)




Project hosted by iFAX Solutions