summaryrefslogtreecommitdiff
path: root/src/ats-test
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-25 22:15:37 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-25 22:15:37 +0000
commitecdc64b5af16246777bb2a4cab79e203fe462a66 (patch)
tree5add1c039d56c297fd199a2829a3c1453e0f5e38 /src/ats-test
parent48a507423a2f014aeb559ad4e58acd7ab1c8fc41 (diff)
LRN: Use GNUNET_strdup() instead of strdup ()
Diffstat (limited to 'src/ats-test')
-rw-r--r--src/ats-test/test_transport_ats_multiple_peers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ats-test/test_transport_ats_multiple_peers.c b/src/ats-test/test_transport_ats_multiple_peers.c
index 4d32dc462..51b813725 100644
--- a/src/ats-test/test_transport_ats_multiple_peers.c
+++ b/src/ats-test/test_transport_ats_multiple_peers.c
@@ -638,8 +638,8 @@ daemon_connect_cb (void *cls, const struct GNUNET_PeerIdentity *first,
struct GNUNET_TESTING_Daemon *second_daemon,
const char *emsg)
{
- char *firstc = strdup (GNUNET_i2s (first));
- char *secondc = strdup (GNUNET_i2s (second));
+ char *firstc = GNUNET_strdup (GNUNET_i2s (first));
+ char *secondc = GNUNET_strdup (GNUNET_i2s (second));
connected++;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Connected peers `%s'<->`%s' (%i/%i)\n",