aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsignal/streamin~.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/signal/streamin~.c b/signal/streamin~.c
index 28c0918..b98bec4 100755
--- a/signal/streamin~.c
+++ b/signal/streamin~.c
@@ -198,7 +198,7 @@ static void streamin_connectpoll(t_streamin *x)
if (x->x_socket > 0) {
post("streamin~: new connection");
- close(x->x_socket);
+ sys_closesocket(x->x_socket);
sys_rmpollfn(x->x_socket);
}