just close socket

This commit is contained in:
Love Hornquist Astrand
2010-01-08 14:19:21 +01:00
parent 3b51f94c2b
commit 1b3a8d3032

View File

@@ -94,8 +94,7 @@ main(int argc, char **argv)
/* Check that freeifaddrs doesn't crash */
freeifaddrs(addrs);
if (rk_SOCK_EXIT())
errx(1, "Couldn't uninitialize sockets. Err=%d\n", rk_SOCK_ERRNO);
rk_SOCK_EXIT();
return 0;
}