summaryrefslogtreecommitdiffstats
path: root/httpd.c
diff options
context:
space:
mode:
authordscho <dscho>2002-05-02 12:53:29 +0000
committerdscho <dscho>2002-05-02 12:53:29 +0000
commitff9fbd971bdebf8eca22446139803a2647dbcf5a (patch)
tree72e85c15b93a562d22cf2e923a70d186f1d6ecb6 /httpd.c
parent22405c3dddfe5cb78b792f3d6b20ba1e5bd427a9 (diff)
downloadlibtdevnc-ff9fbd971bdebf8eca22446139803a2647dbcf5a.tar.gz
libtdevnc-ff9fbd971bdebf8eca22446139803a2647dbcf5a.zip
Tim's Changes
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 7a738a4..8f6aa01 100644
--- a/httpd.c
+++ b/httpd.c
@@ -113,7 +113,7 @@ httpCheckFds(rfbScreenInfoPtr rfbScreen)
fd_set fds;
struct timeval tv;
struct sockaddr_in addr;
- int addrlen = sizeof(addr);
+ socklen_t addrlen = sizeof(addr);
if (!rfbScreen->httpDir)
return;
@@ -196,7 +196,7 @@ static void
httpProcessInput(rfbScreenInfoPtr rfbScreen)
{
struct sockaddr_in addr;
- int addrlen = sizeof(addr);
+ socklen_t addrlen = sizeof(addr);
char fullFname[256];
char *fname;
unsigned int maxFnameLen;