summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-12-09 04:18:23 +0000
committersabetts <sabetts>2004-12-09 04:18:23 +0000
commit2e060766c38a5abaf07af1deb2294ad96b816d90 (patch)
treed66e6f56568f9bb953f4abfc9f4f0d99f658bd51
parente4583f75b36a7d19ef6ad6bde31a6e01a9f3a340 (diff)
downloadratpoison-2e060766c38a5abaf07af1deb2294ad96b816d90.zip
(frestore): use strtok_r.
-rw-r--r--ChangeLog4
-rw-r--r--src/actions.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cd0eac2..43865d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-08 Shawn Betts <katia_dilkina@verizon.net>
+
+ * src/actions.c (frestore): use strtok_r.
+
2004-12-06 Shawn Betts <sabetts@vcn.bc.ca>
* src/manage.c (unmanage): remove call to numset_release.
diff --git a/src/actions.c b/src/actions.c
index 5cff28f..2b7ab50 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -3801,7 +3801,7 @@ frestore (char *data, rp_screen *s)
return NULL;
}
list_add_tail (&new->node, &fset);
- token = strtok_r (NULL, ",", nexttok);
+ token = strtok_r (NULL, ",", &nexttok);
}
free (dup);