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

github.com/ambrop72/badvpn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmbroz Bizjak <ambrop7@gmail.com>2017-09-26 20:20:39 +0300
committerAmbroz Bizjak <ambrop7@gmail.com>2017-09-26 20:20:39 +0300
commit43ba4edc35641b5df7cde00e25037a676cb28714 (patch)
tree2b3d30bc53362f43d187433fdbab32a669fd37dd
parented5131134448e1c977a1dc18ae9fb23aef3beaf4 (diff)
BDatagram: Remove error messages about failed send
-rw-r--r--system/BDatagram_unix.c1
-rw-r--r--system/BDatagram_win.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/system/BDatagram_unix.c b/system/BDatagram_unix.c
index 67853db..b49b865 100644
--- a/system/BDatagram_unix.c
+++ b/system/BDatagram_unix.c
@@ -333,7 +333,6 @@ static void do_send (BDatagram *o)
return;
}
- BLog(BLOG_ERROR, "send failed");
report_error(o);
return;
}
diff --git a/system/BDatagram_win.c b/system/BDatagram_win.c
index 0528866..b8b9b1f 100644
--- a/system/BDatagram_win.c
+++ b/system/BDatagram_win.c
@@ -232,7 +232,6 @@ static void start_send (BDatagram *o)
// send
int res = o->fnWSASendMsg(o->sock, &o->send.msg, 0, NULL, &o->send.olap.olap, NULL);
if (res == SOCKET_ERROR && WSAGetLastError() != WSA_IO_PENDING) {
- BLog(BLOG_ERROR, "WSASendMsg failed (%d)", WSAGetLastError());
report_error(o);
return;
}
@@ -240,7 +239,6 @@ static void start_send (BDatagram *o)
// send
int res = WSASendTo(o->sock, &buf, 1, NULL, 0, &o->send.sysaddr.addr.generic, o->send.sysaddr.len, &o->send.olap.olap, NULL);
if (res == SOCKET_ERROR && WSAGetLastError() != WSA_IO_PENDING) {
- BLog(BLOG_ERROR, "WSASendTo failed (%d)", WSAGetLastError());
report_error(o);
return;
}
@@ -390,7 +388,6 @@ static void send_olap_handler (BDatagram *o, int event, DWORD bytes)
o->send.data_busy = 0;
if (event == BREACTOR_IOCP_EVENT_FAILED) {
- BLog(BLOG_ERROR, "sending failed");
report_error(o);
return;
}