diff options
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c index a4fdd38ca..88ee86a4c 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c | |||
@@ -1253,11 +1253,11 @@ GNUNET_TESTING_peer_configure (struct GNUNET_TESTING_System *system, | |||
1253 | { | 1253 | { |
1254 | /* No prefix */ | 1254 | /* No prefix */ |
1255 | GNUNET_asprintf(&peer->main_binary, "%s", libexec_binary); | 1255 | GNUNET_asprintf(&peer->main_binary, "%s", libexec_binary); |
1256 | peer->args = strdup (""); | 1256 | peer->args = GNUNET_strdup (""); |
1257 | } | 1257 | } |
1258 | else | 1258 | else |
1259 | { | 1259 | { |
1260 | peer->args = strdup (libexec_binary); | 1260 | peer->args = GNUNET_strdup (libexec_binary); |
1261 | } | 1261 | } |
1262 | peer->system = system; | 1262 | peer->system = system; |
1263 | peer->key_number = key_number; | 1263 | peer->key_number = key_number; |
@@ -1724,10 +1724,10 @@ GNUNET_TESTING_service_run (const char *testdir, | |||
1724 | { | 1724 | { |
1725 | /* No prefix */ | 1725 | /* No prefix */ |
1726 | GNUNET_asprintf(&peer->main_binary, "%s", libexec_binary); | 1726 | GNUNET_asprintf(&peer->main_binary, "%s", libexec_binary); |
1727 | peer->args = strdup (""); | 1727 | peer->args = GNUNET_strdup (""); |
1728 | } | 1728 | } |
1729 | else | 1729 | else |
1730 | peer->args = strdup (libexec_binary); | 1730 | peer->args = GNUNET_strdup (libexec_binary); |
1731 | 1731 | ||
1732 | GNUNET_free (libexec_binary); | 1732 | GNUNET_free (libexec_binary); |
1733 | GNUNET_free (binary); | 1733 | GNUNET_free (binary); |