aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-31 22:20:02 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-31 22:20:02 +0000
commit2e3054f413fd65e06f9eedf9993eb067260c3aec (patch)
treeef126bb3b7a643273d6291a7dbc297c377c1dbd8
parent1c1655a3018d34a38dbe35b74a9ff7e7fd95a431 (diff)
downloadbusybox-2e3054f413fd65e06f9eedf9993eb067260c3aec.tar.gz
use socklen_t instead of size_t with socket related functions
-rw-r--r--networking/inetd.c11
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;