commit | c8e6e35ba4095846121d5b5a3eee57caa5e8e0fb | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Mon Dec 18 22:10:24 2006 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Mon Dec 18 22:10:24 2006 +0000 |
tree | d310542c65bbfd183b50f156916ef3313721625f | |
parent | 83e5d6f77237b64853c194b0ce592e77ef677c4d [diff] [blame] |
nc: add missing cast xfuncs: add dprintf for dietlibc
diff --git a/networking/nc.c b/networking/nc.c index 5fd9242..b2a4596 100644 --- a/networking/nc.c +++ b/networking/nc.c
@@ -104,7 +104,7 @@ if (!lport) { socklen_t len = sizeof(address); - getsockname(sfd, &address, &len); + getsockname(sfd, (struct sockaddr *) &address, &len); fdprintf(2, "%d\n", SWAP_BE16(address.sin_port)); } repeatyness: