summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.bootparamd/bootparamd.c
diff options
context:
space:
mode:
authorderaadt <deraadt@NetBSD.org>1994-01-23 21:55:56 +0000
committerderaadt <deraadt@NetBSD.org>1994-01-23 21:55:56 +0000
commit031bfecc250b9b6e5aaa640f99ca9651b22e9e5b (patch)
treef00718a1cffc59deb1df6d3097715276919caa98 /usr.sbin/rpc.bootparamd/bootparamd.c
parentff3c7667aee101dac48af365e3577059054c0fbe (diff)
fix from roland
Diffstat (limited to 'usr.sbin/rpc.bootparamd/bootparamd.c')
-rw-r--r--usr.sbin/rpc.bootparamd/bootparamd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.bootparamd/bootparamd.c b/usr.sbin/rpc.bootparamd/bootparamd.c
index 27621c3187e..63190186747 100644
--- a/usr.sbin/rpc.bootparamd/bootparamd.c
+++ b/usr.sbin/rpc.bootparamd/bootparamd.c
@@ -6,7 +6,7 @@
* Various small changes by Theo de Raadt <deraadt@fsa.ca>
* Parser rewritten (adding YP support) by Roland McGrath <roland@frob.com>
*
- * $Id: bootparamd.c,v 1.2 1994/01/10 14:04:46 deraadt Exp $
+ * $Id: bootparamd.c,v 1.3 1994/01/23 21:55:56 deraadt Exp $
*/
#include <sys/types.h>
@@ -337,7 +337,7 @@ lookup_bootparam(client, client_canonical, id, server, path)
* the client we are looking for
*/
struct hostent *hp = gethostbyname(word);
- if (hp == NULL || !strcmp(hp->h_name, client))
+ if (hp == NULL || strcmp(hp->h_name, client))
continue;
}
contin *= -1;