]> code.citadel.org Git - citadel.git/blobdiff - webcit/locate_host.c
Improved the reliability of per-thread locale by unsetting it at the end
[citadel.git] / webcit / locate_host.c
index ba7026216393a772538d2361df8cbb7c1a50b32e..034fd05e9ef0c2bb4231a368cbcf265b81b64fb9 100644 (file)
@@ -11,7 +11,7 @@ void locate_host(char *tbuf, int client_socket)
 {
        struct sockaddr_in cs;
        struct hostent *ch;
-       int len;
+       socklen_t len;
        char *i;
        int a1, a2, a3, a4;