diff options
Diffstat (limited to 'src/core/test_core_api_start_only.c')
-rw-r--r-- | src/core/test_core_api_start_only.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/test_core_api_start_only.c b/src/core/test_core_api_start_only.c index b06b97899..75ba73ce3 100644 --- a/src/core/test_core_api_start_only.c +++ b/src/core/test_core_api_start_only.c | |||
@@ -58,7 +58,7 @@ static GNUNET_SCHEDULER_TaskIdentifier timeout_task_id; | |||
58 | static int ok; | 58 | static int ok; |
59 | 59 | ||
60 | #if VERBOSE | 60 | #if VERBOSE |
61 | #define OKPP do { ok++; fprintf (stderr, "Now at stage %u at %s:%u\n", ok, __FILE__, __LINE__); } while (0) | 61 | #define OKPP do { ok++; FPRINTF (stderr, "Now at stage %u at %s:%u\n", ok, __FILE__, __LINE__); } while (0) |
62 | #else | 62 | #else |
63 | #define OKPP do { ok++; } while (0) | 63 | #define OKPP do { ok++; } while (0) |
64 | #endif | 64 | #endif |
@@ -162,7 +162,7 @@ setup_peer (struct PeerContext *p, const char *cfgname) | |||
162 | static void | 162 | static void |
163 | timeout_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 163 | timeout_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) |
164 | { | 164 | { |
165 | fprintf (stderr, "Timeout.\n"); | 165 | FPRINTF (stderr, "%s", "Timeout.\n"); |
166 | if (p1.ch != NULL) | 166 | if (p1.ch != NULL) |
167 | { | 167 | { |
168 | GNUNET_CORE_disconnect (p1.ch); | 168 | GNUNET_CORE_disconnect (p1.ch); |