[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/utils/net/udpSocket.ml
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/utils/net/udpSocket.ml |
Date: |
Tue, 06 Sep 2005 07:25:15 -0400 |
Index: mldonkey/src/utils/net/udpSocket.ml
diff -u mldonkey/src/utils/net/udpSocket.ml:1.17
mldonkey/src/utils/net/udpSocket.ml:1.18
--- mldonkey/src/utils/net/udpSocket.ml:1.17 Tue Aug 9 10:48:38 2005
+++ mldonkey/src/utils/net/udpSocket.ml Tue Sep 6 11:25:00 2005
@@ -451,7 +451,7 @@
let set_socks_proxy t ss =
try
- Buffer.clear buf;
+ Buffer.reset buf;
let s = read_buf in
t.socks_proxy <- Some ss;
@@ -468,7 +468,7 @@
let send_and_wait () =
let s = Buffer.contents buf in
- Buffer.clear buf;
+ Buffer.reset buf;
assert (local_sendto fd s 0 (String.length s) [] proxy_addr > 0);
match Unix.select [fd] [] [] 30. with
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Mldonkey-commits] Changes to mldonkey/src/utils/net/udpSocket.ml,
mldonkey-commits <=