summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-06-24 15:45:18 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-06-24 15:45:18 -0700
commit4d184e41d30a8fe27380e04beb24f775d4a40782 (patch)
tree5c1a413cb5b2f62c79c5cf125a8f9f2f77a68fd5
parent177c2fd41727bd0110b493933dcbdbf21878fe09 (diff)
LocalClose() takes a ConnInfoPtr, not an fd
-rw-r--r--Xtranslcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xtranslcl.c b/Xtranslcl.c
index 0127d67..addbc62 100644
--- a/Xtranslcl.c
+++ b/Xtranslcl.c
@@ -858,7 +858,7 @@ TRANS(NAMEDOpenServer)(XtransConnInfo ciptr, char *port)
if (TRANS(FillAddrInfo) (ciptr, server_path, server_path) == 0)
{
PRMSG(1,"NAMEDOpenServer: failed to fill in addr info\n", 0,0,0);
- TRANS(LocalClose)(fd);
+ TRANS(LocalClose)(ciptr);
return -1;
}