Commit d03a81c2 authored by Mark Andrews's avatar Mark Andrews

look for '\0'

parent f5233ba5
......@@ -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