]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 580:
authorAidan Van Dyk <aidan@ifax.com>
Wed, 13 Oct 2004 17:18:18 +0000 (17:18 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Wed, 13 Oct 2004 17:18:18 +0000 (17:18 +0000)
docTypeNames in hfaxd/Jobs.c+++ is in the wrong order, not corresponding to the
enum used for FaxItem::op.

Meaning that if you connect to hfaxd and to JPARM DOCUMEMTS, you get the wrong
type displayed to you (not what the server really things is it).

hfaxd/Jobs.c++

index 66f4480db95e8af44e1e25476425020827b49be8..e02ef063012ebca75ed8f638689bd035bd02a8c7 100644 (file)
@@ -251,6 +251,8 @@ static const char* docTypeNames[] = {
     "FAX",             // send_fax
     "TIFF",            // send_tiff
     "TIFF",            // send_tiff_saved
+    "PDF",             // send_pdf
+    "PDF",             // send_pdf_saved
     "PS",              // send_postscript
     "PS",              // send_postscript_saved
     "PCL",             // send_pcl
@@ -262,8 +264,6 @@ static const char* docTypeNames[] = {
     "PAGE",            // send_page_saved
     "UUCP",            // send_uucp
     "UNKNOWN",         // send_unknown
-    "PDF",                     // send_pdf
-    "PDF",                     // send_pdf_saved
 };
 
 static const char*