[AGENT++] error on manage when receiving atrap notfication withafinite number of variable bindings
Jochen Katz
katz at agentpp.com
Mon Sep 10 22:56:16 CEST 2007
Hi Karthik,
> 20070910.13:08:12: 24797: (1)DEBUG : parse length network ea lb 1
> 20070910.13:08:12: 24797: (1)DEBUG : parse length host ea000000
> 20070910.13:08:12: 24797: (1)DEBUG : sizeof(long) 8
> 20070910.13:08:12: 24797: (1)DEBUG : parse length shifted 0
ok, now I see that the #ifdef __osf__ is useless. Just replace
#ifdef __osf__
*length >>= (8 * ((sizeof(int)) - lengthbyte));
#else
*length >>= (8 * ((sizeof(long)) - lengthbyte));
#endif
with
*length >>= (8 * ((sizeof(int)) - lengthbyte));
Regards,
Jochen
More information about the AGENTPP
mailing list