diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-03-03 16:45:02 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-03-03 16:45:02 +0100 |
commit | 8f30811bfec03ea4c0fae70c55d8ec14cd71f029 (patch) | |
tree | c98015e0496bb77aa99d80f1c9ec4957aaeacbdd /unix | |
parent | 8a044ee41e175b8d6cb69dc6f38c6bc94dcb1c8d (diff) | |
download | tigervnc-8f30811bfec03ea4c0fae70c55d8ec14cd71f029.tar.gz tigervnc-8f30811bfec03ea4c0fae70c55d8ec14cd71f029.zip |
No need to force modifiable strings here
Diffstat (limited to 'unix')
-rw-r--r-- | unix/vncconfig/vncExt.c | 2 | ||||
-rw-r--r-- | unix/vncconfig/vncExt.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/vncconfig/vncExt.c b/unix/vncconfig/vncExt.c index eef7c4b5..ff6b4d65 100644 --- a/unix/vncconfig/vncExt.c +++ b/unix/vncconfig/vncExt.c @@ -278,7 +278,7 @@ Bool XVncExtSelectInput(Display* dpy, Window w, int mask) return True; } -Bool XVncExtConnect(Display* dpy, char* hostAndPort) +Bool XVncExtConnect(Display* dpy, const char* hostAndPort) { xVncExtConnectReq* req; xVncExtConnectReply rep; diff --git a/unix/vncconfig/vncExt.h b/unix/vncconfig/vncExt.h index f1502c41..e41e2e5b 100644 --- a/unix/vncconfig/vncExt.h +++ b/unix/vncconfig/vncExt.h @@ -54,7 +54,7 @@ void XVncExtFreeParamList(char** list); Bool XVncExtSetServerCutText(Display* dpy, const char* str, int len); Bool XVncExtGetClientCutText(Display* dpy, char** str, int* len); Bool XVncExtSelectInput(Display* dpy, Window w, int mask); -Bool XVncExtConnect(Display* dpy, char* hostAndPort); +Bool XVncExtConnect(Display* dpy, const char* hostAndPort); Bool XVncExtGetQueryConnect(Display* dpy, char** addr, char** user, int* timeout, void** opaqueId); Bool XVncExtApproveConnect(Display* dpy, void* opaqueId, int approve); |