RE: Am I confused or is read_config_read_octet_string broken?

2004-09-28 Thread Jeff Johnson
); There are also multiple examples of correct usage in snmplib/vacm.c -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 4:48 AM To: [EMAIL PROTECTED] Subject: Re: Am I confused or is read_config_read_octet_string

Re: Am I confused or is read_config_read_octet_string broken?

2004-09-16 Thread cnelson
On Wed, 15 Sep 2004 13:09:54 -0400 [EMAIL PROTECTED] wrote: CRC I'm trying to use read_config_read_octet_string() (in 5.1.1) and I'm not CRC getting the results I expect. ghost voiceUse the source, Luke.../ghost voice Yeah, I'm trying (that's where I found the snippet I posted). But it's

Am I confused or is read_config_read_octet_string broken?

2004-09-15 Thread cnelson
I'm trying to use read_config_read_octet_string() (in 5.1.1) and I'm not getting the results I expect. It is written to allocate space for the return value if needed: /* * malloc data space if needed (+1 for good measure) */ if (*str == NULL) { if