Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: Bug: %z item in ModemFmt broken (hfaxd problem)
Alan Sparks wrote:
Found a tiny little bug in hfaxd. The %z ('*' if faxgetty running) ModemFmt
format item prints garbage.
Problem is at line 281 of hfaxd/Status.c++, the following fprintf:
case 'z':
fprintf(fd, fspec, config.isGettyRunning ? "*" : " ");
The double-quotes must be changed to single-quotes, since this must match
the format character selected from the mformat[] table prior to the
function; at line 207, the format character is set to 'c'.
%z will work OK after this fix.
-Alan
---------
Alan Sparks, IS Engineering Support <asparks@harris.com>
Harris Network Support Systems, Camarillo CA (805) 389-2430
This will be fixed in pl2; thanks for digging into that anyway.
matthias