summaryrefslogtreecommitdiff
path: root/win32/win32sck.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2003-05-17 06:32:46 +0000
committerGurusamy Sarathy <gsar@cpan.org>2003-05-17 06:32:46 +0000
commit3ead22cb2e50f28432734844b4f0ea5762a993b5 (patch)
tree2f77ba5333c038b6bf21dc456302842a0b84138f /win32/win32sck.c
parent6dbac12b81c0a4e61d1a9c7a1f12e0ee3256cdda (diff)
downloadperl-3ead22cb2e50f28432734844b4f0ea5762a993b5.tar.gz
missing init in change#19533
p4raw-link: @19533 on //depot/perl: 1c8780751e85c3ece441fc8ecdff2f1dc99f9906 p4raw-id: //depot/perl@19537
Diffstat (limited to 'win32/win32sck.c')
-rw-r--r--win32/win32sck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32sck.c b/win32/win32sck.c
index d89c306cbb..2c51cbc630 100644
--- a/win32/win32sck.c
+++ b/win32/win32sck.c
@@ -291,7 +291,7 @@ win32_select(int nfds, Perl_fd_set* rd, Perl_fd_set* wr, Perl_fd_set* ex, const
int r;
#ifdef USE_SOCKETS_AS_HANDLES
Perl_fd_set dummy;
- int i, fd, save_errno;
+ int i, fd, save_errno = errno;
FD_SET nrd, nwr, nex, *prd, *pwr, *pex;
/* winsock seems incapable of dealing with all three null fd_sets,