summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}