diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-23 11:33:57 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-24 09:27:04 -0700 |
commit | ba70d48951fb925fb3082d81afb08c330333aa51 (patch) | |
tree | 4a5898a86da5fb7e6002c66fb7ab9118a6939417 /Xtranslcl.c | |
parent | 63b65a20706def951dd25e531949b7bc556419eb (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 'Xtranslcl.c')
-rw-r--r-- | Xtranslcl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Xtranslcl.c b/Xtranslcl.c index dec8124..4f04927 100644 --- a/Xtranslcl.c +++ b/Xtranslcl.c @@ -2217,7 +2217,8 @@ TRANS(LocalAccept)(XtransConnInfo ciptr, int *status) #ifdef TRANS_CLIENT static int -TRANS(LocalConnect)(XtransConnInfo ciptr, char *host _X_UNUSED, char *port) +TRANS(LocalConnect)(XtransConnInfo ciptr, + const char *host _X_UNUSED, const char *port) { prmsg(2,"LocalConnect(%p->%d,%s)\n", ciptr, ciptr->fd, port); |