summaryrefslogtreecommitdiff
path: root/Xtrans.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 /Xtrans.c
parentfd90a4e00321b22c96565cfa354b8b0efa376979 (diff)
Add const qualifiers to TRANS(CreateListener) port args
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 79b3b31..86ccdd0 100644
--- a/Xtrans.c
+++ b/Xtrans.c
@@ -743,7 +743,7 @@ TRANS(SetOption) (XtransConnInfo ciptr, int option, int arg)
#ifdef TRANS_SERVER
int
-TRANS(CreateListener) (XtransConnInfo ciptr, char *port, unsigned int flags)
+TRANS(CreateListener) (XtransConnInfo ciptr, const char *port, unsigned int flags)
{
return ciptr->transptr->CreateListener (ciptr, port, flags);