summaryrefslogtreecommitdiff
path: root/usr.bin/talk
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2005-03-11 14:17:12 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2005-03-11 14:17:12 +0000
commit595e532309e983d7d6c86f88867f786b3ccaa756 (patch)
treec2658d263c7610120f6015692c79de70adbe8bc0 /usr.bin/talk
parentc2d34cc331dbaaae52d689a69bd4a2da5013d504 (diff)
downloadsrc-test2-595e532309e983d7d6c86f88867f786b3ccaa756.tar.gz
src-test2-595e532309e983d7d6c86f88867f786b3ccaa756.zip
Use socklen_t where appropriate.
Notes
Notes: svn path=/head/; revision=143415
Diffstat (limited to 'usr.bin/talk')
-rw-r--r--usr.bin/talk/get_iface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/talk/get_iface.c b/usr.bin/talk/get_iface.c
index b7f8b1325c1b..d7cca18ec0dc 100644
--- a/usr.bin/talk/get_iface.c
+++ b/usr.bin/talk/get_iface.c
@@ -53,7 +53,8 @@ get_iface(dst, iface)
{
static struct sockaddr_in local;
struct sockaddr_in remote;
- int s, rv, namelen;
+ socklen_t namelen;
+ int s, rv;
memcpy(&remote.sin_addr, dst, sizeof remote.sin_addr);
remote.sin_port = htons(60000);