aboutsummaryrefslogtreecommitdiffstats
path: root/src/server_socket.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/server_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server_socket.c b/src/server_socket.c
index c10740676..b4114d2d9 100644
--- a/src/server_socket.c
+++ b/src/server_socket.c
@@ -253,7 +253,7 @@ server_socket_close(struct server_socket *ss)
continue;
g_source_remove(s->source_id);
- close(s->fd);
+ close_socket(s->fd);
s->fd = -1;
}
}