Fixed tests

This commit is contained in:
frekky 2016-03-16 21:51:20 +08:00
parent de3ef44cc4
commit 3142e7845a
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
TEST = test
OBJS = test.o base32.o base64.o common.o read.o dns.o encoding.o login.o user.o fw_query.o window.o
SRCOBJS = ../src/base32.o ../src/base64.o ../src/window.o ../src/common.o ../src/read.o ../src/dns.o ../src/encoding.o ../src/login.o ../src/md5.o ../src/user.o ../src/fw_query.o
SRCOBJS = ../src/base32.o ../src/base64.o ../src/window.o ../src/common.o ../src/read.o ../src/dns.o ../src/encoding.o ../src/login.o ../src/md5.o ../src/user.o ../src/fw_query.o ../src/util.o
OS = `uname | tr "a-z" "A-Z"`

View File

@ -45,7 +45,7 @@ START_TEST(test_window_everything)
// "send" data
int a = -1;
for (; out->numitems > 0;) {
fragment *f = window_get_next_sending_fragment(out, &a);
struct fragment *f = window_get_next_sending_fragment(out, &a);
if (!f) {
// warnx("Nothing to send.");
continue;