client: fix compile error

svn path=/trunk/boinc/; revision=15811
This commit is contained in:
Charlie Fenton 2008-08-12 22:19:50 +00:00
parent 0ed39fcd5e
commit 31d0997a61
2 changed files with 7 additions and 1 deletions

View File

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

View File

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