Subject: TimeLord for netatalk-1.3
From: Patrick Asty (asty@cr2a.fr)
Date: Tue Feb 08 1994 - 04:18:41 EST
I have implemented timelord for netatalk-1.3 from
ftp://citi.umich.edu/usr/honey/timelord-bundle (peter honeyman
<honey@citi.umich.edu>).
Since there is no ftp on my site, here are the diffs:
cr2a:root 192 # sccs sccsdiff -r1.1 -r1.3 timelord.c
SCCS/s.timelord.c: 1.1 vs. 1.3
26c26
< #include <machine/endian.h>
---
> #include <netatalk/endian.h>
41c41
< char logf[150], obj[33], type[33], *index();
---
> char logf[150], obj[33], type[33], zone [33], *index();
61a62
> strncpy(zone, ZONE, sizeof(zone));
119,120c120,121
< (void) nbp_unrgstr(obj, type);
< if (nbp_rgstr(atp_sockaddr(atph), obj, type) < 0) {
---
> (void) nbp_unrgstr(obj, type, zone);
> if (nbp_rgstr(atp_sockaddr(atph), obj, type, zone) < 0) {
257,258c258,259
< if ((rval = atp_sresp(atph, &atpb_resp)) != 0)
< log("atp_sresp ret %d\n", rval);;
---
> if ((rval = atp_sresp(*atph, &atpb_resp)) != 0)
> log("atp_sresp error %d\n", errno);;
cr2a:root 193 #
--- Patrick ASTY - CR2A, 19 Avenue Dubonnet 92411 Courbevoie Cedex Tel (16) 1 47 68 97 97 - Fax (16) 1 47 68 87 81 ---
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:20:50 EST