diff options
author | Didier Raboud <odyx@debian.org> | 2011-08-02 17:54:20 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2011-08-02 17:54:20 +0200 |
commit | 2661b89e144cf6a036276ceef0317269aff22e4a (patch) | |
tree | 476fc4e5de4fc6d2eca104c10aabb77ad1df7975 /foomaticrip.c | |
parent | d1cf03383a481675a2458d6ffc95bca7f495eff8 (diff) |
Imported Upstream version 4.0.7upstream/4.0.7
Diffstat (limited to 'foomaticrip.c')
-rw-r--r-- | foomaticrip.c | 2 |
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] == '-') |