svn path=/trunk/boinc/; revision=838
This commit is contained in:
Eric Heien 2003-01-28 21:37:51 +00:00
parent fbe5308fc3
commit f0aaada10b
1 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,8 @@ int ACTIVE_TASK::start(bool first_time) {
// TODO: fill in the app prefs, team name, etc.
strncpy( aid.user_name, wup->project->user_name, 256 );
strncpy( aid.app_preferences, wup->project->project_specific_prefs, 4096 );
if (wup->project->project_specific_prefs)
strncpy( aid.app_preferences, wup->project->project_specific_prefs, 4096 );
aid.total_cobblestones = wup->project->user_total_credit;
aid.recent_avg_cobblestones = wup->project->user_expavg_credit;
aid.checkpoint_period = DEFAULT_CHECKPOINT_PERIOD;