diff options
author | Graham Barr <gbarr@pobox.com> | 1998-06-03 06:22:19 -0500 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-06-10 06:22:54 +0000 |
commit | 56ee16601913744d6296171b01432040a63238f8 (patch) | |
tree | 751d5ac88bd8dda146c7ef0cf3b922b358cc4974 /pp_sys.c | |
parent | 9b604809b69cab4edbbec886a40fb8a044651368 (diff) | |
download | perl-56ee16601913744d6296171b01432040a63238f8.tar.gz |
fix for undef as last arg to setsockopt
Message-ID: <19980603112219.B7638@asic.sc.ti.com>
p4raw-id: //depot/perl@1093
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1968,7 +1968,7 @@ PP(pp_ssockopt) buf = SvPV(sv, na); len = na; } - else if (SvOK(sv)) { + else { aint = (int)SvIV(sv); buf = (char*)&aint; len = sizeof(int); |