#include "conf.h"
#include "control.h"
#include "control_common.h"
-#include "graph.h"
#include "logger.h"
-#include "meta.h"
#include "names.h"
#include "net.h"
#include "netutl.h"
return control_return(c, REQ_DISCONNECT, -1);
}
- for list_each(connection_t, other, connection_list) {
+ for list_each(connection_t, other, &connection_list) {
if(strcmp(other->name, name)) {
continue;
}
free(localhost);
fclose(f);
-#ifndef HAVE_MINGW
+#ifndef HAVE_WINDOWS
int unix_fd = socket(AF_UNIX, SOCK_STREAM, 0);
if(unix_fd < 0) {
}
void exit_control(void) {
-#ifndef HAVE_MINGW
+#ifndef HAVE_WINDOWS
unlink(unixsocketname);
io_del(&unix_socket);
close(unix_socket.fd);