projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0546b36
)
[socket] Ensure werror is initialized to 0
author
Ludovic Henry
<ludovic@xamarin.com>
Mon, 23 Jan 2017 20:29:07 +0000
(15:29 -0500)
committer
Ludovic Henry
<ludovic@xamarin.com>
Mon, 23 Jan 2017 20:29:07 +0000
(15:29 -0500)
mono/metadata/w32socket.c
patch
|
blob
|
history
diff --git
a/mono/metadata/w32socket.c
b/mono/metadata/w32socket.c
index d8851e8b70fab5b23fb1384f53314098e81fc2b9..57e8d4c2635f35b4ada7172f32074109044ee7cd 100644
(file)
--- a/
mono/metadata/w32socket.c
+++ b/
mono/metadata/w32socket.c
@@
-2638,6
+2638,8
@@
ves_icall_System_Net_Sockets_Socket_SendFile_internal (gsize sock, MonoString *f
gboolean interrupted;
TRANSMIT_FILE_BUFFERS buffers;
+ *werror = 0;
+
if (filename == NULL)
return FALSE;