(main): Don't bother to close socket before exit().

This commit is contained in:
Markus Armbruster 2007-11-17 10:17:00 +00:00
parent 43d66c7d87
commit 2444a5c63a

View file

@ -208,14 +208,9 @@ main(int argc, char **argv)
sock = tcp_connect(host, port);
if (!login(sock, uname, country, passwd, send_kill, utf8)) {
#ifdef _WIN32
closesocket(sock);
#else
close(sock);
#endif
if (!login(sock, uname, country, passwd, send_kill, utf8))
exit(1);
}
ioq_init(&server, 2048);
io_init();
#ifndef _WIN32