Mention PocketPC in the WinCE question. I'm not sure how similar WinCE and
[u/mdw/putty] / logging.c
index 3caa94a..76dcb95 100644 (file)
--- a/logging.c
+++ b/logging.c
@@ -60,6 +60,7 @@ void log_packet(int direction, int type, char *texttype, void *data, int len)
            strcpy(dumpdata + 10+1+3*16+2+j, "\n");
            fputs(dumpdata, lgfp);
        }
+       fflush(lgfp);
     }
 }