diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-28 10:27:09 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-28 10:27:09 +0000 |
commit | eff18763a1fdc37a45321dfc95f7bbfcec89777f (patch) | |
tree | d062d581297703d5699f2b0436629aef74635a99 /tests/libtest/lib569.c | |
parent | 3e21f1e971c7467b488a29a5da1f408c8e954b09 (diff) |
portability fix
Diffstat (limited to 'tests/libtest/lib569.c')
-rw-r--r-- | tests/libtest/lib569.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |