diff options
author | Renato Botelho <renato@netgate.com> | 2016-12-05 15:53:29 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-12-05 15:53:29 -0200 |
commit | 812767d2bb4e201b4f826fd31924d2cafb8fe0ae (patch) | |
tree | 3e3dbc65eb273c201d08a9eaf227f857e2a62358 /lib/libc/resolv/res_init.c | |
parent | c1d136c87f2377fd07592928003e67490eb479a6 (diff) | |
parent | b0e9d555db88639874b99e5151bf5981a8223322 (diff) | |
download | FreeBSD-src-812767d2bb4e201b4f826fd31924d2cafb8fe0ae.zip FreeBSD-src-812767d2bb4e201b4f826fd31924d2cafb8fe0ae.tar.gz |
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'lib/libc/resolv/res_init.c')
-rw-r--r-- | lib/libc/resolv/res_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/resolv/res_init.c b/lib/libc/resolv/res_init.c index 715b654..76ad311 100644 --- a/lib/libc/resolv/res_init.c +++ b/lib/libc/resolv/res_init.c @@ -315,7 +315,7 @@ __res_vinit(res_state statp, int preinit) { while (*cp != '\0' && *cp != ' ' && *cp != '\t' && *cp != '\n') cp++; *cp = '\0'; - *pp++ = 0; + *pp++ = NULL; } #define MATCH(line, name) \ @@ -391,7 +391,7 @@ __res_vinit(res_state statp, int preinit) { while (*cp != '\0' && *cp != ' ' && *cp != '\t') cp++; *cp = '\0'; - *pp++ = 0; + *pp++ = NULL; havesearch = 1; continue; } |