summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);