summaryrefslogtreecommitdiffstats
path: root/libidu/idfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libidu/idfile.c')
-rw-r--r--libidu/idfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libidu/idfile.c b/libidu/idfile.c
index d27c4b3..1b46ab7 100644
--- a/libidu/idfile.c
+++ b/libidu/idfile.c
@@ -1,5 +1,5 @@
/* idfile.c -- read & write mkid database file header
- Copyright (C) 1986, 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1995, 1996, 1999 Free Software Foundation, Inc.
Written by Greg McGary <gkm@gnu.ai.mit.edu>
This program is free software; you can redistribute it and/or modify
@@ -54,7 +54,7 @@ locate_id_file_name (char const *arg)
if (id_path)
{
id_path = strdup (id_path);
- arg = strtok (id_path, ":");
+ arg = strsep (&id_path, ":");
/* FIXME: handle multiple ID file names */
}
}