summaryrefslogtreecommitdiffstats
path: root/httpd.c
diff options
context:
space:
mode:
authordscho <dscho>2003-08-18 09:24:03 +0000
committerdscho <dscho>2003-08-18 09:24:03 +0000
commite66f28fcaa85ded2df9322f3e9e2de144918addb (patch)
treec62a6acab82e0200364fba26d0477c8818a4fea0 /httpd.c
parent7dc44503f68759d0c0975898f196a494f1bb665e (diff)
downloadlibtdevnc-e66f28fcaa85ded2df9322f3e9e2de144918addb.tar.gz
libtdevnc-e66f28fcaa85ded2df9322f3e9e2de144918addb.zip
socklen_t -> size_t
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/httpd.c b/httpd.c
index 7a0574e..2f1ffdd 100644
--- a/httpd.c
+++ b/httpd.c
@@ -123,7 +123,7 @@ httpCheckFds(rfbScreenInfoPtr rfbScreen)
fd_set fds;
struct timeval tv;
struct sockaddr_in addr;
- socklen_t addrlen = sizeof(addr);
+ size_t addrlen = sizeof(addr);
if (!rfbScreen->httpDir)
return;
@@ -208,7 +208,7 @@ static void
httpProcessInput(rfbScreenInfoPtr rfbScreen)
{
struct sockaddr_in addr;
- socklen_t addrlen = sizeof(addr);
+ size_t addrlen = sizeof(addr);
char fullFname[512];
char params[1024];
char *ptr;