From eff18763a1fdc37a45321dfc95f7bbfcec89777f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 28 Jan 2010 10:27:09 +0000 Subject: portability fix --- tests/libtest/lib569.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/libtest/lib569.c') diff --git a/tests/libtest/lib569.c b/tests/libtest/lib569.c index 6f276d350..9c5d803b9 100644 --- a/tests/libtest/lib569.c +++ b/tests/libtest/lib569.c @@ -33,7 +33,7 @@ int test(char *URL) int i; FILE *idfile; - idfile = fopen(libtest_arg2, "w"); + idfile = fopen(libtest_arg2, "wb"); if(idfile == NULL) { fprintf(stderr, "couldn't open the Session ID File\n"); return TEST_ERR_MAJOR_BAD; -- cgit v1.2.3