logging
authorChristian Grothoff <christian@grothoff.org>
Thu, 20 Oct 2011 11:13:26 +0000 (11:13 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 20 Oct 2011 11:13:26 +0000 (11:13 +0000)
src/transport/test_transport_api_disconnect.c

index e20ed8ee5979806db54877e2db8c09f99866a452..227b0afad81b460a3ee6c54fad7845e27c196d86 100644 (file)
@@ -75,7 +75,7 @@ static GNUNET_SCHEDULER_TaskIdentifier tct;
 struct GNUNET_TRANSPORT_TransmitHandle *th;
 
 #if VERBOSE
-#define OKPP do { ok++; fprintf (stderr, "Now at stage %u at %s:%u\n", ok, __FILE__, __LINE__); } while (0)
+#define OKPP do { ok++; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Now at stage %u at %s:%u\n", ok, __FILE__, __LINE__); } while (0)
 #else
 #define OKPP do { ok++; } while (0)
 #endif