From: mickey Date: Mon, 29 Apr 1996 00:46:56 +0000 (+0000) Subject: add missed satosin(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e5df81a8142ea14f47824fff9d832e202ef138f9;p=openbsd add missed satosin(). --- 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;