On 30/08/06, Zhang Chuan wrote:
> NumberTemp=(int *)request->requestvb->val.integer;

NumberTemp = (int) *request->requestvb->val.integer;


> printf("\nNumberTemp=%d\n", NumberTemp);


This is currently printing the *address* of the value, not the value itself.

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders