summaryrefslogtreecommitdiff
path: root/sock.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2021-05-03 19:50:03 +0000
committerIan C <ianc@noddybox.co.uk>2021-05-03 19:50:03 +0000
commit0995c4defcf1daa10a2aad5a33bf6e1f1124ee1b (patch)
tree03728dc18a30aef6f24b42156cbebde4078112aa /sock.c
parent9c665db210078f81eddef85fb4d2ca0263e5ce06 (diff)
Fixed warning in sock.c
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;