Indexing fix

This commit is contained in:
aurhat
2015-05-07 21:27:53 +02:00
parent b2da592d6e
commit a9bf87b1e7
+1 -1
View File
@@ -149,7 +149,7 @@ void flushmasterinput()
masterin.reserve(4096);
ENetBuffer buf;
buf.data = &masterin[masterin.length()];
buf.data = masterin.getbuf() + masterin.length();
buf.dataLength = masterin.capacity() - masterin.length();
int recv = enet_socket_receive(mastersock, NULL, &buf, 1);
if(recv > 0)