Package: hylafax-server
Version: 4.3.1-7
Severity: minor
tag: patch

Here's the trivial patch (note this is my current version which has the 
patch related to #409207 as well).

--
paolo

#---------------------------------------------------------------------------
--- util/faxinfo.c++    Thu Jun 29 17:15:35 2006
+++ util/faxinfo.c++ Fri Feb  2 09:21:15 2007
@@ -243,12 +243,12 @@
        if (tif == NULL) {
            printf("Could not open %s; either not TIFF or corrupted.\n",
             argv[optind]);
-           return (0);
+           return (1);
        }
        bool ok = isFAXImage(tif);
        if (!ok) {
            printf("Does not look like a facsimile?\n");
-           return (0);
+           return (1);
        }
 
        Class2Params params;
@@ -348,7 +348,7 @@
            fstat(TIFFFileno(tif), &sb);
            char buf[80];
            strftime(buf, sizeof (buf),
-        "%Y:%m:%d %H:%M:%S %Z", localtime(&sb.st_mtime));
+        "%Y/%m/%d %H:%M:%S %Z", localtime(&sb.st_mtime));
            date = buf;
        }
        TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &v);
#---------------------------------------------------------------------------




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to