diff options
Diffstat (limited to 'src/server.cc')
-rw-r--r-- | src/server.cc | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/server.cc b/src/server.cc index d91a4e5..7d6127d 100644 --- a/src/server.cc +++ b/src/server.cc @@ -31,6 +31,9 @@ /* * $Log$ + * Revision 1.12 2005/05/07 10:56:18 deva + * Changed print outs + * * Revision 1.11 2005/05/03 08:31:59 deva * Removed the error object, and replaced it with a more generic info object. * @@ -288,14 +291,15 @@ void newConnection(Socket *socket) sprintf(cpr, h.header.h_data.cpr); hasCpr = true; } - - printf("Read: %d bytes ", ret); - printf("\ttyp: %d ", h.header_type); - printf("\tcpr: %s ", cpr); - printf("\tfrz: %d ", h.header.h_data.freeze); - printf("\tsht: %d ", h.header.h_data.snapshot); - printf("\tsave: %d\n", h.header.h_data.savestate); - + + // printf("Read: %d bytes ", ret); + // printf("typ: %d ", h.header_type); + fprintf(stdout, "cpr: %s ", cpr); + fprintf(stdout, "frz: %d ", h.header.h_data.freeze); + fprintf(stdout, "sht: %d ", h.header.h_data.snapshot); + fprintf(stdout, "save: %d ", h.header.h_data.savestate); + fflush(stdout); + if(h.header.h_data.snapshot) { if(freeze_frame) { saveFrameAsImage(cpr, freeze_frame); |