openbsd-ports/net/ntp/patches/patch-ntpd_ntp_scanner_c
gonzalo 4cf7f8dabb Update for ntp:
* I remove the patch patch-ntpd_ntp_intres_c because is applied upstream.
* We doesn't need USE_GROFF here.

OK naddy@, aja@
2012-04-10 15:06:29 +00:00

13 lines
316 B
Plaintext

$OpenBSD: patch-ntpd_ntp_scanner_c,v 1.3 2012/04/10 15:06:29 gonzalo Exp $
--- ntpd/ntp_scanner.c.orig Sat Dec 25 06:40:34 2010
+++ ntpd/ntp_scanner.c Thu Apr 5 18:25:55 2012
@@ -354,7 +354,7 @@ is_special(
int ch
)
{
- return (int)strchr(special_chars, ch);
+ return strchr(special_chars, ch) != NULL;
}