diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/test_common_logging.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_common_logging.c b/src/util/test_common_logging.c index cf291161e..d057db099 100644 --- a/src/util/test_common_logging.c +++ b/src/util/test_common_logging.c | |||
@@ -43,8 +43,8 @@ main (int argc, char *argv[]) | |||
43 | unsigned int failureCount = 0; | 43 | unsigned int failureCount = 0; |
44 | unsigned int logs = 0; | 44 | unsigned int logs = 0; |
45 | 45 | ||
46 | if (0 != setenv ("GNUNET_FORCE_LOG", "", 1)) | 46 | if (0 != putenv ("GNUNET_FORCE_LOG=")) |
47 | fprintf (stderr, "Failed to setenv: %s\n", strerror (errno)); | 47 | fprintf (stderr, "Failed to putenv: %s\n", strerror (errno)); |
48 | GNUNET_log_setup ("test-common-logging", "DEBUG", "/dev/null"); | 48 | GNUNET_log_setup ("test-common-logging", "DEBUG", "/dev/null"); |
49 | GNUNET_logger_add (&my_log, &logs); | 49 | GNUNET_logger_add (&my_log, &logs); |
50 | GNUNET_logger_add (&my_log, &logs); | 50 | GNUNET_logger_add (&my_log, &logs); |