Den 09-09-2013 10:52, Geet Bhatia skrev: > The value sent by agent is correct. I have checked it on wireshark. Even > the print_variable is printing correct value on console. But I am not > able to get this value copied in buffer.
This does not make sense. If print_variable can print it, then the data is there, and your memcpy should copy it alright. Are you trying to process the value using str* functions which will not work when the first byte of the value is a NUL? /Niels -- Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders