From 689fbf12d522273f7bb3120417beec30ac3b0df2 Mon Sep 17 00:00:00 2001 From: fgerlits <fgerlits@cfc7b370-4200-0410-a6e3-cb6bdb053afe> Date: Thu, 3 Feb 2005 11:51:53 +0000 Subject: [PATCH] fixed bug #578 --- livesupport/modules/core/src/XmlRpcTools.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/livesupport/modules/core/src/XmlRpcTools.cxx b/livesupport/modules/core/src/XmlRpcTools.cxx index eae44902f..b37af9267 100644 --- a/livesupport/modules/core/src/XmlRpcTools.cxx +++ b/livesupport/modules/core/src/XmlRpcTools.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.3 $ + Version : $Revision: 1.4 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/src/XmlRpcTools.cxx,v $ ------------------------------------------------------------------------------*/ @@ -728,9 +728,8 @@ XmlRpcTools :: extractLoginName( throw std::invalid_argument("missing or bad login name argument"); } - Ptr<std::string>::Ref loginName(new std::string( - xmlRpcValue[loginName] )); - return loginName; + Ptr<std::string>::Ref login(new std::string(xmlRpcValue[loginName])); + return login; }