INN commit: trunk/tests (authprogs/ident-t.c lib/network-t.c)
INN Commit
Russ_Allbery at isc.org
Sat Sep 22 09:34:13 UTC 2007
Date: Saturday, September 22, 2007 @ 02:34:13
Author: iulius
Revision: 7692
Fix some types in the test suite (socklen_t is not necessarily size_t).
Modified:
trunk/tests/authprogs/ident-t.c
trunk/tests/lib/network-t.c
---------------------+
authprogs/ident-t.c | 2 +-
lib/network-t.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: authprogs/ident-t.c
===================================================================
--- authprogs/ident-t.c 2007-09-22 09:20:03 UTC (rev 7691)
+++ authprogs/ident-t.c 2007-09-22 09:34:13 UTC (rev 7692)
@@ -46,7 +46,7 @@
FILE *infile;
char buffer[256], wanted[256];
struct passwd *pwd;
- ssize_t status;
+ int status;
bool success = true;
/* Make sure we can figure out our username. If we can't, ident isn't
Modified: lib/network-t.c
===================================================================
--- lib/network-t.c 2007-09-22 09:20:03 UTC (rev 7691)
+++ lib/network-t.c 2007-09-22 09:34:13 UTC (rev 7692)
@@ -149,7 +149,7 @@
int *fds, count, fd, i;
pid_t child;
struct sockaddr_storage saddr;
- size_t size = sizeof(saddr);
+ socklen_t size = sizeof(saddr);
network_bind_all(11119, &fds, &count);
if (count == 0)
More information about the inn-committers
mailing list