summaryrefslogtreecommitdiffstats
path: root/common/rfb/CConnection.cxx
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2009-09-04 10:57:20 +0000
committerAdam Tkac <atkac@redhat.com>2009-09-04 10:57:20 +0000
commitd36b626bbb7b90306d3d93a5b82fd117fe8ec15f (patch)
treea535fbe60d92182b93c8a5f3a1f4e5d811c3a8a8 /common/rfb/CConnection.cxx
parent97abe8a548ff9ca940d568128b21813b8a253872 (diff)
downloadtigervnc-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/CConnection.cxx')
-rw-r--r--common/rfb/CConnection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/CConnection.cxx b/common/rfb/CConnection.cxx
index 59955696..36778f02 100644
--- a/common/rfb/CConnection.cxx
+++ b/common/rfb/CConnection.cxx
@@ -234,7 +234,7 @@ void CConnection::processSecurityResultMsg()
}
CharArray reason;
if (cp.beforeVersion(3,8))
- reason.buf = safe_strdup("Authentication failure");
+ reason.buf = strDup("Authentication failure");
else
reason.buf = is->readString();
state_ = RFBSTATE_INVALID;