summaryrefslogtreecommitdiff
path: root/vxi11_server.c
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-11 19:13:47 +0900
committerdaniel <danieruru@gmail.com>2013-01-11 19:13:47 +0900
commitee9fe4fa6339dc1e49a4d484f9f03d4091c6aa90 (patch)
treec9aa3f25c7fadc0b6f9620673a55e31113403d3d /vxi11_server.c
parent7d4fa5278ace3dd96dda1bf4da75d617fd3e2795 (diff)
most of it seems to work in perl now
Diffstat (limited to 'vxi11_server.c')
-rw-r--r--vxi11_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vxi11_server.c b/vxi11_server.c
index 0f684c4..2241ef3 100644
--- a/vxi11_server.c
+++ b/vxi11_server.c
@@ -117,7 +117,6 @@ create_link_1_svc(Create_LinkParms *argp, struct svc_req *rqstp) {
result.error = ERR_OUTOFRESOURCES;
}
else {
-
int linkid;
for (linkid = 0; linkid < SIZEOFARRAY(links); linkid++) {
if (links[linkid] == NULL) {
@@ -443,6 +442,7 @@ destroy_intr_chan_1_svc(void *argp, struct svc_req *rqstp) {
result.error = ERR_CHANNELNOTESTABLISHED;
}
else {
+ clnt_destroy(intclient);
intclient = NULL;
result.error = 0;
}