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.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.c')
-rw-r--r-- | src/transport/test_transport_api_unreliability.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/test_transport_api_unreliability.c b/src/transport/test_transport_api_unreliability.c index 1e93615e7..90defae02 100644 --- a/src/transport/test_transport_api_unreliability.c +++ b/src/transport/test_transport_api_unreliability.c | |||
@@ -456,7 +456,7 @@ sendtask () | |||
456 | static void | 456 | static void |
457 | testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls) | 457 | testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls) |
458 | { | 458 | { |
459 | char *p1_c = strdup (GNUNET_i2s (&p1->id)); | 459 | char *p1_c = GNUNET_strdup (GNUNET_i2s (&p1->id)); |
460 | 460 | ||
461 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected: %s <-> %s\n", p1_c, | 461 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected: %s <-> %s\n", p1_c, |
462 | GNUNET_i2s (&p2->id)); | 462 | GNUNET_i2s (&p2->id)); |