diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2015-10-10 12:23:55 +0100 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2015-10-10 12:23:55 +0100 |
| commit | 114f211286f45998505935813ee8557c37fe1edd (patch) | |
| tree | 8fd5be5a40dbe6b50c74fe0419cc991aadd108eb /tools | |
| parent | cc2d7622fe7c3c1a8125aaa998eaaf4deafb33bf (diff) | |
use extraneous type specifier socklen_t [wwtt?]
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/libstyx/Posix.c | 3 |
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)); |
