From b40323cc5eda96237399181aa2b7251813d113f8 Mon Sep 17 00:00:00 2001 From: deva Date: Sat, 7 May 2005 10:56:18 +0000 Subject: Changed print outs --- src/server.cc | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'src/server.cc') 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); -- cgit v1.2.3