summaryrefslogtreecommitdiff
path: root/tools/libstyx/Posix.c
diff options
context:
space:
mode:
authorCharles Forsyth <charles.forsyth@gmail.com>2015-10-10 12:23:55 +0100
committerCharles Forsyth <charles.forsyth@gmail.com>2015-10-10 12:23:55 +0100
commit114f211286f45998505935813ee8557c37fe1edd (patch)
tree8fd5be5a40dbe6b50c74fe0419cc991aadd108eb /tools/libstyx/Posix.c
parentcc2d7622fe7c3c1a8125aaa998eaaf4deafb33bf (diff)
use extraneous type specifier socklen_t [wwtt?]
Diffstat (limited to 'tools/libstyx/Posix.c')
-rw-r--r--tools/libstyx/Posix.c3
1 files changed, 2 insertions, 1 deletions
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));