Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2003-03-03 03:12:24 +0300
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2003-03-03 03:12:24 +0300
commitc6b2a68290e1c3ce7eba964fc02001aa30d32a5b (patch)
treeee604bd262ca0f0c1fab9f125f3a7b74c99cc39b /mcs/class/System/System.Net.Sockets
parentcc1640ad2ad8d218244afa895f5120dd8d65c159 (diff)
2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Socket.cs: (SendTo): fix from Jerome Laban <jlaban@wanadoo.fr>. svn path=/trunk/mcs/; revision=12111
Diffstat (limited to 'mcs/class/System/System.Net.Sockets')
-rw-r--r--mcs/class/System/System.Net.Sockets/ChangeLog5
-rw-r--r--mcs/class/System/System.Net.Sockets/Socket.cs3
2 files changed, 6 insertions, 2 deletions
diff --git a/mcs/class/System/System.Net.Sockets/ChangeLog b/mcs/class/System/System.Net.Sockets/ChangeLog
index b9b6fe40acf..1c81fa6809c 100644
--- a/mcs/class/System/System.Net.Sockets/ChangeLog
+++ b/mcs/class/System/System.Net.Sockets/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * Socket.cs:
+ (SendTo): fix from Jerome Laban <jlaban@wanadoo.fr>.
+
2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Socket.cs: patch from Elan Feingold <efeingold@mn.rr.com>. Fixes
diff --git a/mcs/class/System/System.Net.Sockets/Socket.cs b/mcs/class/System/System.Net.Sockets/Socket.cs
index c7a6bb22591..babcb3f98c2 100644
--- a/mcs/class/System/System.Net.Sockets/Socket.cs
+++ b/mcs/class/System/System.Net.Sockets/Socket.cs
@@ -896,8 +896,7 @@ namespace System.Net.Sockets
public int SendTo(byte[] buffer, int size, SocketFlags flags,
EndPoint remote_end) {
- return(SendTo(buffer, size, buffer.Length, flags,
- remote_end));
+ return(SendTo(buffer, 0, size, flags, remote_end));
}