diff options
author | Jim Cromie <jcromie@cpan.org> | 2005-07-06 08:19:53 -0600 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2005-07-08 16:35:10 +0000 |
commit | a02a5408b2f199007c4dcb74559cc79066307ada (patch) | |
tree | b5456b7513dec78b81e08371fbd59138e2edfe72 /win32/win32sck.c | |
parent | bdf3085f9fca00a6148ef3f26060d442844b64bd (diff) | |
download | perl-a02a5408b2f199007c4dcb74559cc79066307ada.tar.gz |
Re: janitorial work ? [patch]
Message-ID: <42CC3CE9.5050606@divsol.com>
(reverted all dual-lived modules since they must work with older
perls too so must wait for a new Devel::PPPort)
p4raw-id: //depot/perl@25101
Diffstat (limited to 'win32/win32sck.c')
-rw-r--r-- | win32/win32sck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32sck.c b/win32/win32sck.c index 051b442bd4..2795104b34 100644 --- a/win32/win32sck.c +++ b/win32/win32sck.c @@ -125,7 +125,7 @@ my_fdopen(int fd, char *mode) /* * If we get here, then fd is actually a socket. */ - Newz(1310, fp, 1, FILE); /* XXX leak, good thing this code isn't used */ + Newxz(fp, 1, FILE); /* XXX leak, good thing this code isn't used */ if(fp == NULL) { errno = ENOMEM; return NULL; @@ -413,7 +413,7 @@ open_ifs_socket(int af, int type, int protocol) WSAPROTOCOL_INFOW *proto_buffers; int protocols_available = 0; - New(1, proto_buffers, proto_buffers_len / sizeof(WSAPROTOCOL_INFOW), + Newx(proto_buffers, proto_buffers_len / sizeof(WSAPROTOCOL_INFOW), WSAPROTOCOL_INFOW); if ((protocols_available = WSCEnumProtocols(NULL, proto_buffers, |