From: rufustfirefly Date: Wed, 9 Aug 2000 14:52:37 +0000 (+0000) Subject: memory allocation for address X-Git-Tag: netatalk-1-5-rc1~694 X-Git-Url: https://arthur.barton.de/gitweb/?a=commitdiff_plain;h=6b7542ab2d1c765c9b9bf52fb6cb75556d6a5b4f;p=netatalk.git memory allocation for address --- 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 );