summaryrefslogtreecommitdiff
path: root/Xtrans.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-08-23 11:33:57 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-08-24 09:27:04 -0700
commitba70d48951fb925fb3082d81afb08c330333aa51 (patch)
tree4a5898a86da5fb7e6002c66fb7ab9118a6939417 /Xtrans.c
parent63b65a20706def951dd25e531949b7bc556419eb (diff)
Add const qualifiers to TRANS(Connect) args
Also required constifying UnixHostReallyLocal, since SocketUNIXConnect passes the host arg through to it. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Xtrans.c')
-rw-r--r--Xtrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xtrans.c b/Xtrans.c
index 86ccdd0..81c8d2d 100644
--- a/Xtrans.c
+++ b/Xtrans.c
@@ -852,7 +852,7 @@ TRANS(Accept) (XtransConnInfo ciptr, int *status)
#ifdef TRANS_CLIENT
int
-TRANS(Connect) (XtransConnInfo ciptr, char *address)
+TRANS(Connect) (XtransConnInfo ciptr, const char *address)
{
char *protocol;