From db1f8520ae9ca97bbee5e4727b6e672488a36f37 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 2 Apr 2004 00:32:10 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3207 --- client/gui_rpc_client.C | 3 +++ client/gui_rpc_server.C | 2 +- client/main.C | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/client/gui_rpc_client.C b/client/gui_rpc_client.C index 8d3abf9aee..4e52567d34 100644 --- a/client/gui_rpc_client.C +++ b/client/gui_rpc_client.C @@ -138,12 +138,15 @@ int RPC_CLIENT::get_messages( "\n", nmessages, offset ); + fflush(fout); while (fgets(buf, 256, fin)) { + puts(buf); if (match_tag(buf, "")) continue; if (match_tag(buf, "")) break; if (match_tag(buf, "")) { MESSAGE_DESC md; while (fgets(buf, 256, fin)) { + puts(buf); if (match_tag(buf, "")) break; if (parse_str(buf, "", md.project)) continue; if (parse_str(buf, "", md.body)) continue; diff --git a/client/gui_rpc_server.C b/client/gui_rpc_server.C index 058fbcab21..4bad3d28a7 100644 --- a/client/gui_rpc_server.C +++ b/client/gui_rpc_server.C @@ -220,7 +220,7 @@ void handle_get_messages(char* buf, FILE* fout) { ); if (md.project) { fprintf(fout, - " %s", + " %s\n", md.project->get_project_name() ); } diff --git a/client/main.C b/client/main.C index 6ef1f23ee8..14b7b4c02b 100644 --- a/client/main.C +++ b/client/main.C @@ -100,7 +100,7 @@ void show_message(PROJECT *p, char* msg, int priority) { md.project = p; md.priority = priority; md.timestamp = now; - md.message = msg; + md.message = message; message_descs.push_back(md); switch (priority) {