From 114f211286f45998505935813ee8557c37fe1edd Mon Sep 17 00:00:00 2001 From: Charles Forsyth Date: Sat, 10 Oct 2015 12:23:55 +0100 Subject: use extraneous type specifier socklen_t [wwtt?] --- tools/libstyx/Posix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/libstyx/Posix.c b/tools/libstyx/Posix.c index dbadfd9f..b57cfe57 100644 --- a/tools/libstyx/Posix.c +++ b/tools/libstyx/Posix.c @@ -65,7 +65,8 @@ int styxaccept(Styxserver *server) { struct sockaddr_in sin; - int len, s; + int s; + socklen_t len; len = sizeof(sin); memset(&sin, 0, sizeof(sin)); -- cgit v1.2.3