diff options
Diffstat (limited to 'tests/libtest/lib571.c')
-rw-r--r-- | tests/libtest/lib571.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/libtest/lib571.c b/tests/libtest/lib571.c index c048747d9..f015f6bb2 100644 --- a/tests/libtest/lib571.c +++ b/tests/libtest/lib571.c @@ -104,9 +104,8 @@ int test(char *URL) CURL *curl; char *stream_uri = NULL; int request = 1; - FILE *protofile = NULL; - protofile = fopen(libtest_arg2, "wb"); + FILE *protofile = fopen(libtest_arg2, "wb"); if(protofile == NULL) { fprintf(stderr, "Couldn't open the protocol dump file\n"); return TEST_ERR_MAJOR_BAD; |