flush output before running test

This commit is contained in:
Erik Ekman 2006-11-08 20:34:45 +00:00
parent 1a6fa6b6e7
commit 47d5320a49

1
test.c
View File

@ -199,6 +199,7 @@ test_encode_hostname() {
len = 256; len = 256;
printf(" * Testing hostname encoding... "); printf(" * Testing hostname encoding... ");
fflush(stdout);
memset(buf, 0, 256); memset(buf, 0, 256);
ret = dns_encode_hostname( // More than 63 chars between dots ret = dns_encode_hostname( // More than 63 chars between dots