summaryrefslogtreecommitdiff
path: root/foomaticrip.c
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2011-08-02 17:54:20 +0200
committerDidier Raboud <odyx@debian.org>2011-08-02 17:54:20 +0200
commit2661b89e144cf6a036276ceef0317269aff22e4a (patch)
tree476fc4e5de4fc6d2eca104c10aabb77ad1df7975 /foomaticrip.c
parentd1cf03383a481675a2458d6ffc95bca7f495eff8 (diff)
Imported Upstream version 4.0.7upstream/4.0.7
Diffstat (limited to 'foomaticrip.c')
-rw-r--r--foomaticrip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/foomaticrip.c b/foomaticrip.c
index 089e4ff..41a7577 100644
--- a/foomaticrip.c
+++ b/foomaticrip.c
@@ -1383,7 +1383,7 @@ int main(int argc, char** argv)
dstrcpyf(filelist, "<STDIN>");
/* Check filelist */
- p = strtok(filelist->data, " ");
+ p = strtok(strdup(filelist->data), " ");
while (p) {
if (strcmp(p, "<STDIN>") != 0) {
if (p[0] == '-')