From 7a240a2945b175510577f64876db187d931830f5 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 29 Apr 1996 00:46:57 +0000 Subject: add missed satosin(). --- libexec/talkd/process.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libexec') diff --git a/libexec/talkd/process.c b/libexec/talkd/process.c index a6dcbda2003..809477956a4 100644 --- a/libexec/talkd/process.c +++ b/libexec/talkd/process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: process.c,v 1.2 1996/04/28 23:56:20 mickey Exp $ */ +/* $OpenBSD: process.c,v 1.3 1996/04/29 00:46:56 mickey Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -35,7 +35,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)process.c 5.10 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$Id: process.c,v 1.2 1996/04/28 23:56:20 mickey Exp $"; +static char rcsid[] = "$Id: process.c,v 1.3 1996/04/29 00:46:56 mickey Exp $"; #endif /* not lint */ /* @@ -59,6 +59,8 @@ static char rcsid[] = "$Id: process.c,v 1.2 1996/04/28 23:56:20 mickey Exp $"; #include #include "talkd.h" +#define satosin(sa) ((struct sockaddr_in *)(sa)) + void process_request(mp, rp) register CTL_MSG *mp; -- cgit v1.2.3