bug fixes

svn path=/trunk/boinc/; revision=1041
This commit is contained in:
Eric Heien 2003-03-10 21:27:28 +00:00
parent 33154c221e
commit 53e43535bf
2 changed files with 3 additions and 2 deletions

View File

@ -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);
}
}

View File

@ -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));