diff options
Diffstat (limited to 'src/lib9/getnetconn.c')
-rw-r--r-- | src/lib9/getnetconn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib9/getnetconn.c b/src/lib9/getnetconn.c index 9fa8a9e0..e88516cf 100644 --- a/src/lib9/getnetconn.c +++ b/src/lib9/getnetconn.c @@ -27,7 +27,7 @@ convert(int s, struct sockaddr *sa, char **lsys, char **lserv, char **laddr) socklen_t sn; int n; char *net; - + switch(sa->sa_family){ case AF_INET: sin = (void*)sa; @@ -158,4 +158,3 @@ freenetconninfo(NetConnInfo *nci) xfree(nci->raddr); free(nci); } - |