diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-10 09:04:52 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-10 09:04:52 +0000 |
commit | 795a9c01be8f50168550595229d92e7bb40025e5 (patch) | |
tree | 0627ccfd7bd2cb6a1143cd9e9c507361a043f2e2 /cpukit/httpd | |
parent | 2005-05-10 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-795a9c01be8f50168550595229d92e7bb40025e5.tar.bz2 |
socklen_t.
Diffstat (limited to 'cpukit/httpd')
-rw-r--r-- | cpukit/httpd/socket.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/httpd/socket.c b/cpukit/httpd/socket.c index bca64741d5..430139bd68 100644 --- a/cpukit/httpd/socket.c +++ b/cpukit/httpd/socket.c @@ -354,7 +354,7 @@ static void socketAccept(socket_t *sp) } overlay; struct sockaddr_in *addr; socket_t *nsp; - int len; + socklen_t len; char *pString; int newSock, nid; @@ -415,7 +415,8 @@ int socketGetInput(int sid, char *buf, int toRead, int *errCode) { struct sockaddr_in server; socket_t *sp; - int len, bytesRead; + socklen_t len; + int bytesRead; a_assert(buf); a_assert(errCode); |