[Serdev] cpl-c build_userhost causes lookup failure?

Richard mypop3mail at yahoo.com
Sun May 23 23:04:04 UTC 2004


Hi,

I have a problem to enable lookup registration. Lookup
node can't find the user in the location table. Some
debug found out in build_userhost for
cpl_invoke_script in cpl.c, the intr->user has an
extra '\0' in the end and len is one longer. For
example, "1 at a.b" has a len of 6 in intr->user and 5 in
location table. It caused the get_urecord failed to
find any record in the location table. The removal of
line 474 "uh->s[uh->len++] = 0;" in cpl.c solves the
problem.

Is my understanding correct?

Thanks,
Richard



	
		
__________________________________
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 




More information about the Serdev mailing list