[Devel] negative return codes don't work?
Kanakatti Mahesh Subramanya
mahesh at aptela.com
Tue Sep 6 19:27:24 CEST 2005
In the following chunklet
xlog("L_DBG", "Before : $rc");
route(15);
xlog("L_DBG", "After : $rc");
.
.
route[15] {
blah;
blah;
return(-1);
}
If you look at the debug output, you'll see
Before : 4294967293
After : 4294967294
Needless to say, the associated "switch" statements don't work.. retcode
does seem to be set to this...
cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mahesh.vcf
Type: text/x-vcard
Size: 332 bytes
Desc: not available
Url : http://openser.org/pipermail/devel/attachments/20050906/d29527fc/mahesh-0001.vcf
More information about the Devel
mailing list