From e5df81a8142ea14f47824fff9d832e202ef138f9 Mon Sep 17 00:00:00 2001 From: mickey Date: Mon, 29 Apr 1996 00:46:56 +0000 Subject: [PATCH] add missed satosin(). --- libexec/talkd/process.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 2.20.1