]> arthur.barton.de Git - netatalk.git/commitdiff
Timelord compilation fixes and makefile adjustment
authorrufustfirefly <rufustfirefly>
Tue, 8 Aug 2000 15:25:51 +0000 (15:25 +0000)
committerrufustfirefly <rufustfirefly>
Tue, 8 Aug 2000 15:25:51 +0000 (15:25 +0000)
contrib/timelord/Makefile.am
contrib/timelord/timelord.c

index 779d2ae4e37665096310d737586cd74053f10d84..f444926d3063edef60e409ad0761f19151acd972 100644 (file)
@@ -5,6 +5,6 @@ sbin_PROGRAMS = timelord
 timelord_SOURCES = timelord.c
 timelord_LDADD = ../../libatalk/libatalk.a
 
-LIBS = "$LIBS -latalk"
+LIBS = @LIBS@ -latalk
 
 EXTRA_DIST = COPYRIGHT README VERSION
index ed98695c9db5fbd9d20e49ba6f4e618427c6e982..f17f943b8ffa3e5bf6ded02fe822b731d5007045 100644 (file)
@@ -148,7 +148,7 @@ main( ac, av )
     openlog( p, LOG_NDELAY|LOG_PID, LOG_DAEMON );
 #endif ultrix
 
-    if (( atp = atp_open( 0 )) == NULL ) {
+    if (( atp = atp_open( ATADDR_ANYPORT, &sat.sat_addr )) == NULL ) {
        syslog( LOG_ERR, "main: atp_open: %m" );
        exit( 1 );
     }