aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_common_logging.c
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2009-06-11 15:37:44 +0000
committerNils Durner <durner@gnunet.org>2009-06-11 15:37:44 +0000
commit81aac31f13c1f57a84cc2ae79746688bf7f3ffe8 (patch)
tree2ee40a48ed4f5d945a2c42c5b9e799b121e4680c /src/util/test_common_logging.c
parent4dcecfd72005cc8f990dea5fca456da54a6eaa98 (diff)
downloadgnunet-81aac31f13c1f57a84cc2ae79746688bf7f3ffe8.tar.gz
gnunet-81aac31f13c1f57a84cc2ae79746688bf7f3ffe8.zip
MinGW
Diffstat (limited to 'src/util/test_common_logging.c')
-rw-r--r--src/util/test_common_logging.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/test_common_logging.c b/src/util/test_common_logging.c
index eb337aac4..3d07661c2 100644
--- a/src/util/test_common_logging.c
+++ b/src/util/test_common_logging.c
@@ -43,7 +43,9 @@ main (int argc, char *argv[])
43 unsigned int logs = 0; 43 unsigned int logs = 0;
44 44
45 fclose (stderr); 45 fclose (stderr);
46#ifndef MINGW
46 stderr = NULL; 47 stderr = NULL;
48#endif
47 GNUNET_logger_add (&my_log, &logs); 49 GNUNET_logger_add (&my_log, &logs);
48 GNUNET_logger_add (&my_log, &logs); 50 GNUNET_logger_add (&my_log, &logs);
49 GNUNET_log (GNUNET_ERROR_TYPE_BULK, "Testing...\n"); 51 GNUNET_log (GNUNET_ERROR_TYPE_BULK, "Testing...\n");