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.14 by root, Sun Nov 14 15:28:47 2010 UTC vs.
Revision 1.15 by root, Thu Sep 18 02:58:42 2014 UTC

52 // serialise our state back 52 // serialise our state back
53 if (msg && SvROK (msg)) 53 if (msg && SvROK (msg))
54 { 54 {
55 SV *idx_sv = *hv_fetch ((HV *)cur_bufobj, "_index" , sizeof ("_index" ) - 1, 1); 55 SV *idx_sv = *hv_fetch ((HV *)cur_bufobj, "_index" , sizeof ("_index" ) - 1, 1);
56 sv_setiv (idx_sv, cur - buf); 56 sv_setiv (idx_sv, cur - buf);
57 }
57 58
58 SvREFCNT_dec (msg); 59 SvREFCNT_dec (msg);
59 msg = 0; 60 msg = 0;
60 cur_bufobj = 0; 61 cur_bufobj = 0;
61 }
62} 62}
63 63
64static void 64static void
65switch_bufobj (BUFOBJ neu) 65switch_bufobj (BUFOBJ neu)
66{ 66{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines