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/ats/test_ats_api_scheduling.c | |
parent | 48a507423a2f014aeb559ad4e58acd7ab1c8fc41 (diff) | |
download | gnunet-ecdc64b5af16246777bb2a4cab79e203fe462a66.tar.gz gnunet-ecdc64b5af16246777bb2a4cab79e203fe462a66.zip |
LRN: Use GNUNET_strdup() instead of strdup ()
Diffstat (limited to 'src/ats/test_ats_api_scheduling.c')
-rw-r--r-- | src/ats/test_ats_api_scheduling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/test_ats_api_scheduling.c b/src/ats/test_ats_api_scheduling.c index d24bb2c73..bf11aef8d 100644 --- a/src/ats/test_ats_api_scheduling.c +++ b/src/ats/test_ats_api_scheduling.c | |||
@@ -195,7 +195,7 @@ check (void *cls, char *const *args, const char *cfgfile, | |||
195 | 195 | ||
196 | addr[0].plugin = "test"; | 196 | addr[0].plugin = "test"; |
197 | addr[0].session = NULL; | 197 | addr[0].session = NULL; |
198 | addr[0].addr = strdup ("test"); | 198 | addr[0].addr = GNUNET_strdup ("test"); |
199 | addr[0].addr_len = 4; | 199 | addr[0].addr_len = 4; |
200 | 200 | ||
201 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Testing address creation\n"); | 201 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Testing address creation\n"); |