summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1b4713f)
raw | patch | inline | side by side (parent: 1b4713f)
author | H. Peter Anvin <hpa@smyrno.hos.anvin.org> | |
Fri, 30 Sep 2005 17:48:21 +0000 (10:48 -0700) | ||
committer | H. Peter Anvin <hpa@smyrno.hos.anvin.org> | |
Fri, 30 Sep 2005 17:48:21 +0000 (10:48 -0700) |
daemon.c | patch | blob | history |
diff --git a/daemon.c b/daemon.c
index 6298f53fcf7f459acbb56faa50c71c104a9c5be9..fc5e1c3037dd3bba0367e373accf946dae0fddb4 100644 (file)
--- a/daemon.c
+++ b/daemon.c
for (i = 0; i < socknum; i++) {
if (pfd[i].revents & POLLIN) {
struct sockaddr_storage ss;
- int sslen = sizeof(ss);
+ unsigned int sslen = sizeof(ss);
int incoming = accept(pfd[i].fd, (struct sockaddr *)&ss, &sslen);
if (incoming < 0) {
switch (errno) {