diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-11 23:36:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-11 23:36:08 +0000 |
commit | ec6c88fcdea43aed4a80515ff9e447e886fe5af0 (patch) | |
tree | 081780cb86b2c9a2169b214571d7b61b30fd8882 /usr.sbin | |
parent | f5b2a5ddee3438479deb91eb0385729c99013974 (diff) |
indent
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ypserv/ypserv/ypserv_db.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/ypserv/ypserv_db.c b/usr.sbin/ypserv/ypserv/ypserv_db.c index b62c2b1bdbc..aeece700011 100644 --- a/usr.sbin/ypserv/ypserv/ypserv_db.c +++ b/usr.sbin/ypserv/ypserv/ypserv_db.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypserv_db.c,v 1.14 1998/01/08 22:36:47 maja Exp $ */ +/* $OpenBSD: ypserv_db.c,v 1.15 2001/01/11 23:36:07 deraadt Exp $ */ /* * Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> @@ -34,7 +34,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: ypserv_db.c,v 1.14 1998/01/08 22:36:47 maja Exp $"; +static char rcsid[] = "$OpenBSD: ypserv_db.c,v 1.15 2001/01/11 23:36:07 deraadt Exp $"; #endif /* @@ -420,8 +420,8 @@ lookup_host(nametable, host_lookup, db, keystr, result) v = val; for (; host->h_addr_list[0] != NULL; host->h_addr_list++) { addr_name = (struct in_addr *)host->h_addr_list[0]; - snprintf(tmpbuf,sizeof(tmpbuf), "%s %s\n", - inet_ntoa(*addr_name), host->h_name); + snprintf(tmpbuf, sizeof(tmpbuf), "%s %s\n", + inet_ntoa(*addr_name), host->h_name); if (v - val + strlen(tmpbuf) + 1 > sizeof(val)) break; strcpy(v, tmpbuf); |