summaryrefslogtreecommitdiff
path: root/Xtranslcl.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-08-23 10:17:57 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-08-23 12:47:32 -0700
commit63b65a20706def951dd25e531949b7bc556419eb (patch)
treeaf20aa218a5a96f86366767fdbe12aef8c24419e /Xtranslcl.c
parentfd90a4e00321b22c96565cfa354b8b0efa376979 (diff)
Add const qualifiers to TRANS(CreateListener) port args
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Xtranslcl.c')
-rw-r--r--Xtranslcl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Xtranslcl.c b/Xtranslcl.c
index 78572b3..dec8124 100644
--- a/Xtranslcl.c
+++ b/Xtranslcl.c
@@ -2151,7 +2151,8 @@ TRANS(LocalSetOption)(XtransConnInfo ciptr, int option, int arg)
#ifdef TRANS_SERVER
static int
-TRANS(LocalCreateListener)(XtransConnInfo ciptr, char *port, unsigned int flags _X_UNUSED)
+TRANS(LocalCreateListener)(XtransConnInfo ciptr, const char *port,
+ unsigned int flags _X_UNUSED)
{
prmsg(2,"LocalCreateListener(%p->%d,%s)\n",ciptr,ciptr->fd,port);