diff --git a/ClientCommands.cpp b/ClientCommands.cpp index 9f57a5e..eb88b62 100644 --- a/ClientCommands.cpp +++ b/ClientCommands.cpp @@ -51,6 +51,7 @@ void CDir::sendRequest() while (payload < payloadEnd && *payload != '\0') { name = reinterpret_cast(payload); + printf("%s\n", name); payload += strlen(name) + 1; READ_INT_64(size, payload); payload += sizeof(size); diff --git a/RADRunner.cpp b/RADRunner.cpp index 26a5f85..9ca2941 100644 --- a/RADRunner.cpp +++ b/RADRunner.cpp @@ -439,21 +439,21 @@ static void StartServer(unsigned short a_port) /* Otherwise it is a "real" socket error, so display an error and shut down */ if (a_exception.m_result != 0) { - printf("Unable to perform I/O on socket (Error = %d)!\n", a_exception.m_result); + printf("Unable to perform I/O on socket (Error = %d)\n", a_exception.m_result); shutdown = true; } } } else { - printf("failed (Error = %d)!\n", result); + printf("failed (Error = %d)\n", result); shutdown = true; } } while (!g_break && !shutdown); } else { - printf("Unable to listen on socket (Error = %d)!\n", result); + printf("Unable to listen on socket (Error = %d)\n", result); shutdown = true; }