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 parseFPTS?



Hi,

I want to be more specific:

parseFPTS is called from recvPPM(tif, skipStatus(buf), ppr)

in parseFPTS only the LOCAL ppr variable is updated, NOT the one in the
call!

I feel that this is wrong.

Kees


On Sat, 7 Apr 2001, kees wrote:

> Hi,
> 
> I'm faced with receiving faxes which do no show oddies in the log but
> are mailed with an error and have a header, data but NO tiff directory
> attached. I attached the mail message and the logfile and a headerdump.
> I disabled qualitycheck in the config
> 
> I'm running hylfax4.1beta3 with libtiff3.5.5.
> 
> I tried to follow 
> 
> Class2Modem:recvPage() to find a cause
> this function has a local var: ppr which is not initialised.
> This var may be touched in RecvPPM(tif,ppr)
> 
> BUT, RecvPPM() has a LOCAL variable ppr so I understand that this one
> is updated instead of the one in the call.
> 
> in recvPage the next place where ppr can be touched is in hostDidCQ
> but if no CQ is selected ppr is leaved untouched.
> 
> than in recvPage() we have the test, so what is in ppr now?
> 
> if (ppr &1) .....
> 
> I believe I missed something but I can't see it.
> 
> regards
> 
> Kees
> 



____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions