diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-01-13 20:43:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-01-13 20:43:54 +0000 |
commit | 96915ca174eb43bd10e9f87f46f0f4bb64259470 (patch) | |
tree | bdaa9f87ace8ad0d9f78f120a3f5b3d6cce5f26b | |
parent | e273b8d5760562499f807968139927ebcd9341dd (diff) | |
download | gnunet-96915ca174eb43bd10e9f87f46f0f4bb64259470.tar.gz gnunet-96915ca174eb43bd10e9f87f46f0f4bb64259470.zip |
rindex is deprecated
-rw-r--r-- | src/testing/test_testing_topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/test_testing_topology.c b/src/testing/test_testing_topology.c index f9d5fb9af..cf1b3232c 100644 --- a/src/testing/test_testing_topology.c +++ b/src/testing/test_testing_topology.c | |||
@@ -1180,7 +1180,7 @@ main (int argc, char *argv[]) | |||
1180 | char *binary_start_pos; | 1180 | char *binary_start_pos; |
1181 | char *our_binary_name; | 1181 | char *our_binary_name; |
1182 | 1182 | ||
1183 | binary_start_pos = rindex (argv[0], '/'); | 1183 | binary_start_pos = strchr (argv[0], '/'); |
1184 | GNUNET_assert (binary_start_pos != NULL); | 1184 | GNUNET_assert (binary_start_pos != NULL); |
1185 | topology_string = strstr (binary_start_pos, "_topology"); | 1185 | topology_string = strstr (binary_start_pos, "_topology"); |
1186 | GNUNET_assert (topology_string != NULL); | 1186 | GNUNET_assert (topology_string != NULL); |