aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-01-13 20:43:54 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-01-13 20:43:54 +0000
commit692df4e8bf62426129c3e4b20034e6bcaa9566ba (patch)
treebdaa9f87ace8ad0d9f78f120a3f5b3d6cce5f26b
parent0788acb6e5bd49782d93bd3fa70c84db039108d7 (diff)
rindex is deprecated
git-svn-id: https://gnunet.org/svn/gnunet@14164 140774ce-b5e7-0310-ab8b-a85725594a96
-rw-r--r--src/testing/test_testing_topology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/test_testing_topology.c b/src/testing/test_testing_topology.c
index f9d5fb9af0..cf1b3232c8 100644
--- a/src/testing/test_testing_topology.c
+++ b/src/testing/test_testing_topology.c
@@ -1180,7 +1180,7 @@ main (int argc, char *argv[])
char *binary_start_pos;
char *our_binary_name;
- binary_start_pos = rindex (argv[0], '/');
+ binary_start_pos = strchr (argv[0], '/');
GNUNET_assert (binary_start_pos != NULL);
topology_string = strstr (binary_start_pos, "_topology");
GNUNET_assert (topology_string != NULL);