Re: [Spice-devel] [spice-xpi 2/4] Change SendStr to handle a std::string

2012-04-04 Thread Christophe Fergeau
On Wed, Apr 04, 2012 at 04:02:38PM +0200, Peter Hatina wrote: > Hi, > > On 04/03/2012 04:38 PM, Christophe Fergeau wrote: > > All callers were using std::string::c_str(), better to move this > > call to SendStr instead of doing it everywhere. > > --- > > SpiceXPI/src/plugin/plugin.cpp | 28

Re: [Spice-devel] [spice-xpi 2/4] Change SendStr to handle a std::string

2012-04-04 Thread Peter Hatina
Hi, On 04/03/2012 04:38 PM, Christophe Fergeau wrote: > All callers were using std::string::c_str(), better to move this > call to SendStr instead of doing it everywhere. > --- > SpiceXPI/src/plugin/plugin.cpp | 28 ++-- > SpiceXPI/src/plugin/plugin.h |2 +- > 2 fi

[Spice-devel] [spice-xpi 2/4] Change SendStr to handle a std::string

2012-04-03 Thread Christophe Fergeau
All callers were using std::string::c_str(), better to move this call to SendStr instead of doing it everywhere. --- SpiceXPI/src/plugin/plugin.cpp | 28 ++-- SpiceXPI/src/plugin/plugin.h |2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/SpiceX