From 924faa81b8cf436e880d0f98fb583f68bad85051 Mon Sep 17 00:00:00 2001
From: Oliver Bock <oliver.bock@aei.mpg.de>
Date: Wed, 27 May 2009 16:16:11 +0200
Subject: [PATCH] Removing workaround

* Fixed upstream: trunk/boinc/lib/app_ipc.C@r15954
* Should have been removed with 11ca8fc9 (no gfx-prefs since release_ABP1_004!)
---
 src/framework/BOINCClientAdapter.cpp | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/framework/BOINCClientAdapter.cpp b/src/framework/BOINCClientAdapter.cpp
index 3fc03a1..316f941 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;
-- 
GitLab