mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixed a derp in DLLSocket.dll
Ohgodwhy
This commit is contained in:
@@ -120,7 +120,7 @@ extern "C" DLL_EXPORT const char* recv_message(int n, char *v[])
|
|||||||
if(sender.sin_addr.s_addr != addr.sin_addr.s_addr) {
|
if(sender.sin_addr.s_addr != addr.sin_addr.s_addr) {
|
||||||
continue; // not our connection, ignore and try again
|
continue; // not our connection, ignore and try again
|
||||||
} else {
|
} else {
|
||||||
return_buffer[rc] = '0'; // 0-terminate the string
|
return_buffer[rc] = 0; // 0-terminate the string
|
||||||
return return_buffer;
|
return return_buffer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user