diff options
author | Till Kamppeter <till.kamppeter@gmail.com> | 2011-02-18 16:28:29 +0100 |
---|---|---|
committer | Till Kamppeter <till.kamppeter@gmail.com> | 2011-02-18 16:28:29 +0100 |
commit | b3b5b8a3c63ccb3646c48bf63a6353130771fc46 (patch) | |
tree | ed5c7feb38768fd38cc896fb78e75985b869de04 /foomaticrip.c | |
parent | 8b67196bb13016099f50e877b1cf403e6923fa49 (diff) |
foomatic-filters 4.0.7-0ubuntu1ubuntu/4.0.7-0ubuntu1
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] == '-') |