From 31d0997a616ff643f80e16507b2843f7033b310a Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Tue, 12 Aug 2008 22:19:50 +0000 Subject: [PATCH] client: fix compile error svn path=/trunk/boinc/; revision=15811 --- checkin_notes | 6 ++++++ client/client_msgs.C | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index cc0051c10c..26db9d349b 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6442,3 +6442,9 @@ David 12 Aug 2008 html/project/ project_specific_prefs.inc + +Charlie 12 Aug 2008 + - client: fix compile error. + + client/ + client_msgs.C diff --git a/client/client_msgs.C b/client/client_msgs.C index 542edfa56f..94ea89cc33 100644 --- a/client/client_msgs.C +++ b/client/client_msgs.C @@ -63,7 +63,7 @@ void record_message(PROJECT* p, int priority, int now, char* message) { strcpy(mdp->project_name, ""); if (p) { strlcpy( - mdp->project_name, sizeof(mdp->project_name), p->get_project_name() + mdp->project_name, p->get_project_name(), sizeof(mdp->project_name) ); } mdp->priority = priority;