From 6b7542ab2d1c765c9b9bf52fb6cb75556d6a5b4f Mon Sep 17 00:00:00 2001 From: rufustfirefly Date: Wed, 9 Aug 2000 14:52:37 +0000 Subject: [PATCH] memory allocation for address --- contrib/timelord/timelord.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/timelord/timelord.c b/contrib/timelord/timelord.c index f17f943b..ab93e921 100644 --- a/contrib/timelord/timelord.c +++ b/contrib/timelord/timelord.c @@ -148,6 +148,9 @@ main( ac, av ) openlog( p, LOG_NDELAY|LOG_PID, LOG_DAEMON ); #endif ultrix + /* allocate memory */ + memset (&sat.sat_addr, 0, sizeof (sat.sat_addr)); + if (( atp = atp_open( ATADDR_ANYPORT, &sat.sat_addr )) == NULL ) { syslog( LOG_ERR, "main: atp_open: %m" ); exit( 1 ); -- 2.39.2