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.16 by root, Wed Dec 7 13:24:42 2016 UTC vs.
Revision 1.17 by root, Thu Dec 29 22:35:23 2016 UTC

575 575
576SV * 576SV *
577_process_ipaddress (BUFOBJ self, ...) 577_process_ipaddress (BUFOBJ self, ...)
578 CODE: 578 CODE:
579{ 579{
580 U32 length = process_length (); 580 U32 length = process_length ();
581 if (length != 4) 581 if (length != 4)
582 { 582 {
583 error ("IP ADDRESS length not four"); 583 error ("IP ADDRESS length not four");
584 XSRETURN_UNDEF; 584 XSRETURN_UNDEF;
585 } 585 }
592 592
593SV * 593SV *
594process (BUFOBJ self, SV *expected = &PL_sv_undef, SV *found = 0) 594process (BUFOBJ self, SV *expected = &PL_sv_undef, SV *found = 0)
595 CODE: 595 CODE:
596{ 596{
597 int type; 597 int type;
598 598
599 RETVAL = process_sv (&type); 599 RETVAL = process_sv (&type);
600 600
601 if (found) 601 if (found)
602 sv_setiv (found, type); 602 sv_setiv (found, type);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines