|
@@ -191,6 +191,9 @@ void fatal(const char *s, int recoverable)
|
|
|
if (my_port)
|
|
if (my_port)
|
|
|
listen_all(my_port, 1); /* close the listening port... */
|
|
listen_all(my_port, 1); /* close the listening port... */
|
|
|
|
|
|
|
|
|
|
+ if (conf.bot->localhub)
|
|
|
|
|
+ unlink(conf.localhub_socket);
|
|
|
|
|
+
|
|
|
sdprintf(STR("Closing %d sockets"), dcc_total);
|
|
sdprintf(STR("Closing %d sockets"), dcc_total);
|
|
|
for (int i = 0; i < dcc_total; i++) {
|
|
for (int i = 0; i < dcc_total; i++) {
|
|
|
if (dcc[i].type && dcc[i].sock >= 0) {
|
|
if (dcc[i].type && dcc[i].sock >= 0) {
|