summaryrefslogtreecommitdiffstats
path: root/libexec/ypxfr/ypxfr_misc.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-06-05 05:42:52 +0000
committerwpaul <wpaul@FreeBSD.org>1996-06-05 05:42:52 +0000
commitcfa9db5160a6c391b48cdaa5f955af40eb976b74 (patch)
treeba77c87011f020aaf878a55b1499faae0f105208 /libexec/ypxfr/ypxfr_misc.c
parentd197dcd271d442bc58e2ff1ae5fab02eb8f77e85 (diff)
downloadFreeBSD-src-cfa9db5160a6c391b48cdaa5f955af40eb976b74.zip
FreeBSD-src-cfa9db5160a6c391b48cdaa5f955af40eb976b74.tar.gz
Add support for rpc.ypxfrd and document it in the man page.
Also generallize the yp_dbwrite functions a little: allow the caller to specify certain flags. I need this mostly for some changes to rpc.yppasswdd to allow in-place updates. Also change Makefile a little to use the same format as ypserv.
Diffstat (limited to 'libexec/ypxfr/ypxfr_misc.c')
-rw-r--r--libexec/ypxfr/ypxfr_misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ypxfr/ypxfr_misc.c b/libexec/ypxfr/ypxfr_misc.c
index 77183f4..2c0e895 100644
--- a/libexec/ypxfr/ypxfr_misc.c
+++ b/libexec/ypxfr/ypxfr_misc.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ypxfr_misc.c,v 1.2 1996/02/04 05:18:44 wpaul Exp $
+ * $Id: ypxfr_misc.c,v 1.8 1996/06/02 05:12:00 wpaul Exp $
*/
#include <stdlib.h>
#include <unistd.h>
@@ -41,7 +41,7 @@ struct dom_binding {};
#include "ypxfr_extern.h"
#ifndef lint
-static const char rcsid[] = "$Id: ypxfr_misc.c,v 1.2 1996/02/04 05:18:44 wpaul Exp $";
+static const char rcsid[] = "$Id: ypxfr_misc.c,v 1.8 1996/06/02 05:12:00 wpaul Exp $";
#endif
char *ypxfrerr_string(code)
@@ -188,7 +188,7 @@ failed"));
return(NULL);
}
snprintf(mastername, sizeof(mastername), "%s", resp->peer);
-/* xdr_free(xdr_ypresp_master, (char *)&resp); */
+/* xdr_free(xdr_ypresp_master, (char *)&resp); */
return((char *)&mastername);
}
}
OpenPOWER on IntegriCloud