diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-25 22:15:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-25 22:15:37 +0000 |
commit | ecdc64b5af16246777bb2a4cab79e203fe462a66 (patch) | |
tree | 5add1c039d56c297fd199a2829a3c1453e0f5e38 /src/transport/test_transport_api_unreliability_constant.c | |
parent | 48a507423a2f014aeb559ad4e58acd7ab1c8fc41 (diff) | |
download | gnunet-ecdc64b5af16246777bb2a4cab79e203fe462a66.tar.gz gnunet-ecdc64b5af16246777bb2a4cab79e203fe462a66.zip |
LRN: Use GNUNET_strdup() instead of strdup ()
Diffstat (limited to 'src/transport/test_transport_api_unreliability_constant.c')
-rw-r--r-- | src/transport/test_transport_api_unreliability_constant.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/test_transport_api_unreliability_constant.c b/src/transport/test_transport_api_unreliability_constant.c index feca0c8b7..414bca7c8 100644 --- a/src/transport/test_transport_api_unreliability_constant.c +++ b/src/transport/test_transport_api_unreliability_constant.c | |||
@@ -402,7 +402,7 @@ sendtask () | |||
402 | static void | 402 | static void |
403 | testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls) | 403 | testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls) |
404 | { | 404 | { |
405 | char *p1_c = strdup (GNUNET_i2s (&p1->id)); | 405 | char *p1_c = GNUNET_strdup (GNUNET_i2s (&p1->id)); |
406 | 406 | ||
407 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected: %s <-> %s\n", p1_c, | 407 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected: %s <-> %s\n", p1_c, |
408 | GNUNET_i2s (&p2->id)); | 408 | GNUNET_i2s (&p2->id)); |