summaryrefslogtreecommitdiff
path: root/sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sock.c')
-rw-r--r--sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sock.c b/sock.c
index 778f832..56f8aa5 100644
--- a/sock.c
+++ b/sock.c
@@ -96,7 +96,7 @@ static int Connect(const char *n, const char *p)
int main(int argc, char *argv[])
{
struct sockaddr_in addr;
- int addrlen;
+ socklen_t addrlen;
const char *p;
char buff[1024];
int len;