Re: how convert objid value to string

2007-02-06 Thread Dave Shield
On 06/02/07, eremin <[EMAIL PROTECTED]> wrote: > sprint_value - can't found, found snprint_value My apologies - that's correct. > snprint_objid(buf, sizeof(var_buf), vars->name, vars->name_length); The second parameter should be "sizeof(buf)", surely? > And get Segmentation fault after r

Re: how convert objid value to string

2007-02-06 Thread eremin
On Tue, 2007-02-06 at 12:33 +, Dave Shield wrote: > On 06/02/07, eremin <[EMAIL PROTECTED]> wrote: > > how next I can convert vars.objid to string for next manipulation > > (parsing for vendor recognizing and e.t.c)? > > Use > sprint_value() > > Dave sprint_value - can't found, found snp

Re: how convert objid value to string

2007-02-06 Thread Dave Shield
On 06/02/07, eremin <[EMAIL PROTECTED]> wrote: > how next I can convert vars.objid to string for next manipulation > (parsing for vendor recognizing and e.t.c)? Use sprint_value() Dave - Using Tomcat but need to do more

how convert objid value to string

2007-02-06 Thread eremin
Hi all, in ths code: for (vars = response->variables; vars; vars = vars->next_variable) print_value(vars->name, vars->name_length, vars); if (vars->type == ASN_OBJECT_ID) { how next I can convert vars.objid to string for next manipulation (par