… | |
… | |
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); |