summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index eca82be..f1a51bd 100644
--- a/main.c
+++ b/main.c
@@ -424,6 +424,10 @@ int main(void) {
#endif
int err = func(source, argc, argv);
if (err) {
+#if !LOGALL
+ WRITES(2, STRING("Message was: [Server] "));
+ write(2, full_msg.data, msg_len+1);
+#endif
WRITES(1, STRING("Disconnecting by result of the network command handler...\n"));
return 0;
}