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) {