ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Net-SNMP-XS/XS.xs
(Generate patch)

Comparing Net-SNMP-XS/XS.xs (file contents):
Revision 1.10 by root, Sat Apr 11 06:24:18 2009 UTC vs.
Revision 1.11 by root, Sun Apr 12 00:48:39 2009 UTC

283 U8 *end = cur + length; 283 U8 *end = cur + length;
284 U32 w = getb (); 284 U32 w = getb ();
285 285
286 static char oid[MAX_OID_STRLEN]; // must be static 286 static char oid[MAX_OID_STRLEN]; // must be static
287 char *app = oid; 287 char *app = oid;
288
289 if (leading_dot < 0)
290 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
288 291
289 *app = '.'; app += ! ! leading_dot; 292 *app = '.'; app += ! ! leading_dot;
290 app = write_uv (app, (U8)w / 40); 293 app = write_uv (app, (U8)w / 40);
291 *app++ = '.'; 294 *app++ = '.';
292 app = write_uv (app, (U8)w % 40); 295 app = write_uv (app, (U8)w % 40);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines