Skip to content

Commit ee10978

Browse files
committed
Fixed bug in sending packets
1 parent c0b2149 commit ee10978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worldsock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ int count;
4747
if (m_outstanding_data.GetLength () <= 0)
4848
return;
4949

50-
count = Send (m_outstanding_data, m_outstanding_data.GetLength ());
50+
count = Send ((LPCTSTR) m_outstanding_data, m_outstanding_data.GetLength ());
5151

5252
if (count != SOCKET_ERROR)
5353
m_pDoc->m_nBytesOut += count; // count bytes out

0 commit comments

Comments
 (0)