diff options
Diffstat (limited to 'src/debug.cpp')
-rw-r--r-- | src/debug.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debug.cpp b/src/debug.cpp index 5cb4572c4..b1d7e6677 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -69,7 +69,8 @@ static void debug_print(const char *dbg, const char *buf) snprintf(buf2, lengthof(buf2), "dbg: [%s] %s\n", dbg, buf); send(_debug_socket, buf2, (int)strlen(buf2), 0); - } else + return; + } #endif /* ENABLE_NETWORK */ if (strcmp(dbg, "desync") != 0) { #if defined(WINCE) |