From 161f19e8b02d13a4e483ea8bb44bab48b5a18753 Mon Sep 17 00:00:00 2001 From: cib Date: Tue, 26 Jun 2012 00:38:34 -0700 Subject: [PATCH] Fixed a derp in DLLSocket.dll Ohgodwhy --- DLLSocket/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DLLSocket/main.cpp b/DLLSocket/main.cpp index 4516de1930..e3aafb8791 100644 --- a/DLLSocket/main.cpp +++ b/DLLSocket/main.cpp @@ -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) { continue; // not our connection, ignore and try again } else { - return_buffer[rc] = '0'; // 0-terminate the string + return_buffer[rc] = 0; // 0-terminate the string return return_buffer; } }