diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-31 22:20:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-31 22:20:02 +0000 |
commit | 2e3054f413fd65e06f9eedf9993eb067260c3aec (patch) | |
tree | ef126bb3b7a643273d6291a7dbc297c377c1dbd8 | |
parent | 1c1655a3018d34a38dbe35b74a9ff7e7fd95a431 (diff) |
use socklen_t instead of size_t with socket related functions
-rw-r--r-- | networking/inetd.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/networking/inetd.c b/networking/inetd.c index dcbfffa33..c540a8578 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -447,7 +447,7 @@ static char *LastArg; static void setproctitle(char *a, int s) { - size_t size; + socklen_t size; char *cp; struct sockaddr_in sn; char buf[80]; @@ -1021,7 +1021,7 @@ static void echo_dg(int s, servtab_t *sep) { char buffer[BUFSIZE]; int i; - size_t size; + socklen_t size; struct sockaddr sa; (void)sep; @@ -1110,7 +1110,8 @@ static void chargen_dg(int s, servtab_t *sep) { struct sockaddr sa; static char *rs; - size_t len, size; + size_t len; + socklen_t size; char text[LINESIZ+2]; (void)sep; @@ -1172,7 +1173,7 @@ static void machtime_dg(int s, servtab_t *sep) { long result; struct sockaddr sa; - size_t size; + socklen_t size; (void)sep; size = sizeof(sa); @@ -1208,7 +1209,7 @@ static void daytime_dg(int s, servtab_t *sep) { char buffer[256]; struct sockaddr sa; - size_t size; + socklen_t size; (void)sep; |