summaryrefslogtreecommitdiffstats
path: root/unix/vncviewer/vncviewer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unix/vncviewer/vncviewer.cxx')
-rw-r--r--unix/vncviewer/vncviewer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/vncviewer/vncviewer.cxx b/unix/vncviewer/vncviewer.cxx
index 203df9a9..4a47788e 100644
--- a/unix/vncviewer/vncviewer.cxx
+++ b/unix/vncviewer/vncviewer.cxx
@@ -218,7 +218,7 @@ interpretViaParam (char **gatewayHost, char **remoteHost,
if (**vncServerName != '\0')
*remoteHost = *vncServerName;
- *gatewayHost = safe_strdup (via.getValueStr ());
+ *gatewayHost = strDup (via.getValueStr ());
*vncServerName = new char[50];
sprintf (*vncServerName, "localhost::%d", localPort);
}