Commit 4868351c authored by Mark Andrews's avatar Mark Andrews

look for '\0'

(cherry picked from commit d03a81c2)
parent 0256a07b
......@@ -685,7 +685,7 @@ isc__print_printf(void (*emit)(char, void *), void *arg,
pad--;
}
cp = buf;
while (*cp != ' ')
while (*cp != '\0')
emit(*cp++, arg);
while (pad > 0) {
emit(' ', arg);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment