diff options
author | Adam Tkac <atkac@redhat.com> | 2009-09-04 10:57:20 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2009-09-04 10:57:20 +0000 |
commit | d36b626bbb7b90306d3d93a5b82fd117fe8ec15f (patch) | |
tree | a535fbe60d92182b93c8a5f3a1f4e5d811c3a8a8 /common/rfb/VNCServerST.cxx | |
parent | 97abe8a548ff9ca940d568128b21813b8a253872 (diff) | |
download | tigervnc-d36b626bbb7b90306d3d93a5b82fd117fe8ec15f.tar.gz tigervnc-d36b626bbb7b90306d3d93a5b82fd117fe8ec15f.zip |
Revert previous commit (r3889). Windows code has to be cleaned before this
change.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3890 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/VNCServerST.cxx')
-rw-r--r-- | common/rfb/VNCServerST.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rfb/VNCServerST.cxx b/common/rfb/VNCServerST.cxx index 5be63969..a21526ad 100644 --- a/common/rfb/VNCServerST.cxx +++ b/common/rfb/VNCServerST.cxx @@ -74,7 +74,7 @@ static SSecurityFactoryStandard defaultSecurityFactory; VNCServerST::VNCServerST(const char* name_, SDesktop* desktop_, SSecurityFactory* sf) : blHosts(&blacklist), desktop(desktop_), desktopStarted(false), pb(0), - name(safe_strdup(name_)), pointerClient(0), comparer(0), + name(strDup(name_)), pointerClient(0), comparer(0), renderedCursorInvalid(false), securityFactory(sf ? sf : &defaultSecurityFactory), queryConnectionHandler(0), keyRemapper(&KeyRemapper::defInstance), @@ -363,7 +363,7 @@ void VNCServerST::serverCutText(const char* str, int len) void VNCServerST::setName(const char* name_) { - name.replaceBuf(safe_strdup(name_)); + name.replaceBuf(strDup(name_)); std::list<VNCSConnectionST*>::iterator ci, ci_next; for (ci = clients.begin(); ci != clients.end(); ci = ci_next) { ci_next = ci; ci_next++; |