diff --git a/src/framework/BOINCClientAdapter.cpp b/src/framework/BOINCClientAdapter.cpp index 3fc03a18ca85ed4798438990f939d1f1fd64b5b4..316f94128897b029084be8cdc0e5638be006d936 100644 --- a/src/framework/BOINCClientAdapter.cpp +++ b/src/framework/BOINCClientAdapter.cpp @@ -156,12 +156,9 @@ string BOINCClientAdapter::projectInformation() const { string temp("<project_preferences />\n"); - // preferences available? (BOINC initializes them with 0) + // use preferences if available (BOINC initializes them with 0) if(m_UserData.project_preferences != 0) { - // ugly workaround for incomplete XML fragment returned by BOINC! - temp = "<project_preferences>\n"; - temp += string(m_UserData.project_preferences); - temp += "</project_preferences>\n"; + temp = string(m_UserData.project_preferences); } return temp;