Commit Graph

14 Commits

Author SHA1 Message Date
bouyer 17cb72c505 In add_secure(), change
(status > 0) to (status == 0 && value). It doesn't make sense to handle value
only if there was an error.
Fix coverity ID 1709.
2006-03-22 19:54:13 +00:00
lukem a0b1a25618 snprintf NUL terminates, so there is no need to explicitly do it afterwards 2005-06-19 23:43:51 +00:00
wiz cfa755ae92 de__P, ANSIfy. 2002-07-06 00:53:54 +00:00
cgd 25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
lukem a78cb15fc9 use "ypxfr" instead of __progname as ident arg to openlog
wrap all debug syslogs in #ifdef DEBUG (rather than just most of them)
2001-01-11 00:35:49 +00:00
lukem 7dc5b4fed5 don't call ypdb_close() until after we're finished using data returned
by a previous ypdb_*() operation. seems to fix a problem noted in [bin/8064]
1999-07-25 09:36:02 +00:00
thorpej dd2ecab580 Use syslog(3) to log debugging info, and only if we're compiled with
-DDEBUG.
1999-01-22 02:38:05 +00:00
ross b1934d6034 {} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs. 1998-08-27 20:31:00 +00:00
lukem 64718e58ff add rcsid 1997-10-13 03:15:30 +00:00
lukem 87ca3b181a minor KNFify 1997-10-07 15:00:35 +00:00
thorpej 3d8138fc0e Fix compiler warnings (and an awful lot of annoying little bugs). 1997-07-18 21:57:00 +00:00
lukem 789002a23e use O_EXCL with O_CREAT when making the temporary db files 1997-03-22 03:32:36 +00:00
chuck 3745979128 fix broken case statement for "-C", also check to make sure we've got
the proper number of args for -C and give up if not.   fixes yp slave servers.
1996-08-15 22:17:57 +00:00
thorpej 60aa689c94 A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
1996-08-09 10:14:49 +00:00