Removed debug printf

This commit is contained in:
Erik Ekman 2006-08-24 22:06:24 +00:00
parent 72f8326077
commit 432974300f

5
test.c
View file

@ -126,16 +126,11 @@ test_readname()
rv = readname(emptyloop, &data, buf, 1023); rv = readname(emptyloop, &data, buf, 1023);
assert(buf[1023] == 'A'); assert(buf[1023] == 'A');
bzero(buf, sizeof(buf)); bzero(buf, sizeof(buf));
data = infloop + sizeof(HEADER); data = infloop + sizeof(HEADER);
buf[4] = '\a'; buf[4] = '\a';
rv = readname(infloop, &data, buf, 4); rv = readname(infloop, &data, buf, 4);
printf("%s\n", buf);
assert(buf[4] == '\a'); assert(buf[4] == '\a');
printf("OK\n"); printf("OK\n");
} }