diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-30 22:43:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-30 22:43:52 +0000 |
commit | f5a017ed63ee50feeefc6f0c2b28549aeca92ded (patch) | |
tree | efb619e68756960821ff3ad667a1452db9add7f7 /src/dv/test_transport_api_dv.c | |
parent | 416c2f5a713b93ba689a8cd1e038682a53e6bc17 (diff) | |
download | gnunet-f5a017ed63ee50feeefc6f0c2b28549aeca92ded.tar.gz gnunet-f5a017ed63ee50feeefc6f0c2b28549aeca92ded.zip |
-LRN: use FOPEN/CLOSE instead of fopen/close - #2051
Diffstat (limited to 'src/dv/test_transport_api_dv.c')
-rw-r--r-- | src/dv/test_transport_api_dv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dv/test_transport_api_dv.c b/src/dv/test_transport_api_dv.c index 435bb2a60..386ea5f29 100644 --- a/src/dv/test_transport_api_dv.c +++ b/src/dv/test_transport_api_dv.c | |||
@@ -274,8 +274,8 @@ finish_testing (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
274 | #endif | 274 | #endif |
275 | if (dotOutFile != NULL) | 275 | if (dotOutFile != NULL) |
276 | { | 276 | { |
277 | fclose (dotOutFile); | ||
278 | FPRINTF (dotOutFile, "%s", "}"); | 277 | FPRINTF (dotOutFile, "%s", "}"); |
278 | FCLOSE (dotOutFile); | ||
279 | } | 279 | } |
280 | 280 | ||
281 | ok = 0; | 281 | ok = 0; |
@@ -383,7 +383,7 @@ end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
383 | if (dotOutFile != NULL) | 383 | if (dotOutFile != NULL) |
384 | { | 384 | { |
385 | FPRINTF (dotOutFile, "%s", "}"); | 385 | FPRINTF (dotOutFile, "%s", "}"); |
386 | fclose (dotOutFile); | 386 | FCLOSE (dotOutFile); |
387 | } | 387 | } |
388 | } | 388 | } |
389 | 389 | ||