Browse Source

when debugging flush to get messages out timely...

tags/ggatessh-v1.0.0
John-Mark Gurney 4 years ago
parent
commit
dbf3c5c767
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      shared/ggate.c

+ 1
- 0
shared/ggate.c View File

@@ -93,6 +93,7 @@ g_gate_vlog(int priority, const char *message, va_list ap)
printf("%s: ", prefix); printf("%s: ", prefix);
vprintf(message, ap); vprintf(message, ap);
printf("\n"); printf("\n");
fflush(stdout);
} else { } else {
if (priority != LOG_DEBUG) if (priority != LOG_DEBUG)
vsyslog(priority, message, ap); vsyslog(priority, message, ap);


Loading…
Cancel
Save