artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28184d2
)
return -1 on host() address parsing failure, not 1.
author
bcook
<bcook@openbsd.org>
Fri, 9 Jan 2015 23:48:21 +0000
(23:48 +0000)
committer
bcook
<bcook@openbsd.org>
Fri, 9 Jan 2015 23:48:21 +0000
(23:48 +0000)
Match what parse.y expects it to return.
ok millert@
usr.sbin/ntpd/config.c
patch
|
blob
|
history
diff --git
a/usr.sbin/ntpd/config.c
b/usr.sbin/ntpd/config.c
index
b95df25
..
cd13a38
100644
(file)
--- a/
usr.sbin/ntpd/config.c
+++ b/
usr.sbin/ntpd/config.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: config.c,v 1.
19 2006/05/27 17:01:07 henning
Exp $ */
+/* $OpenBSD: config.c,v 1.
20 2015/01/09 23:48:21 bcook
Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@
-58,7
+58,7
@@
host(const char *s, struct ntp_addr **hn)
*hn = h;
- return (1);
+ return (
-
1);
}
struct ntp_addr *