From 53e43535bfafa35b0be8d4c59d535bbc16b7defa Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Mon, 10 Mar 2003 21:27:28 +0000 Subject: [PATCH] bug fixes svn path=/trunk/boinc/; revision=1041 --- client/main.C | 4 ++-- client/scheduler_op.C | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/main.C b/client/main.C index 31bfde50a5..c214e56639 100644 --- a/client/main.C +++ b/client/main.C @@ -42,9 +42,9 @@ void show_message(PROJECT *p, char* message, int priority) { const char* proj = p?p->project_name:"BOINC"; switch (priority) { case MSG_ERROR: - fprintf(stderr, "%s [%s] %s", timestamp(), proj, message); + fprintf(stderr, "%s [%s] %s\n", timestamp(), proj, message); default: - printf("%s [%s] %s", timestamp(), proj, message); + printf("%s [%s] %s\n", timestamp(), proj, message); } } diff --git a/client/scheduler_op.C b/client/scheduler_op.C index b52cdc9fbd..a3697fd71d 100644 --- a/client/scheduler_op.C +++ b/client/scheduler_op.C @@ -502,6 +502,7 @@ int SCHEDULER_REPLY::parse(FILE* in) { global_prefs_xml = 0; project_prefs_xml = 0; safe_strncpy(user_name, "", sizeof(user_name)); + safe_strncpy(team_name, "", sizeof(team_name)); user_total_credit = 0; user_expavg_credit = 0; safe_strncpy(host_venue, "", sizeof(host_venue));