summaryrefslogtreecommitdiff
path: root/src/server.cc
diff options
context:
space:
mode:
authordeva <deva>2005-05-07 10:56:18 +0000
committerdeva <deva>2005-05-07 10:56:18 +0000
commitb40323cc5eda96237399181aa2b7251813d113f8 (patch)
tree1a537cb5528009a758f49e658d9da3ceed9bd37a /src/server.cc
parent8d535e795ef79b17394f3daeac11ed5600b36682 (diff)
Changed print outsR0_2_0
Diffstat (limited to 'src/server.cc')
-rw-r--r--src/server.cc20
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);