|
a/src/internfile/mh_exec.cpp |
|
b/src/internfile/mh_exec.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: mh_exec.cpp,v 1.6 2006-01-26 17:59:50 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: mh_exec.cpp,v 1.7 2006-12-13 09:13:18 dockes Exp $ (C) 2005 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
45 |
// Hu ho
|
45 |
// Hu ho
|
46 |
LOGERR(("MimeHandlerExec::mkDoc: empty params for mime %s\n",
|
46 |
LOGERR(("MimeHandlerExec::mkDoc: empty params for mime %s\n",
|
47 |
mtype.c_str()));
|
47 |
mtype.c_str()));
|
48 |
return MimeHandler::MHError;
|
48 |
return MimeHandler::MHError;
|
49 |
}
|
49 |
}
|
|
|
50 |
|
50 |
// Command name
|
51 |
// Command name
|
51 |
string cmd = conf->findFilter(params.front());
|
52 |
string cmd = params.front();
|
52 |
|
53 |
|
53 |
// Build parameter list: delete cmd name and add the file name
|
54 |
// Build parameter list: delete cmd name and add the file name
|
54 |
list<string>::iterator it = params.begin();
|
55 |
list<string>::iterator it = params.begin();
|
55 |
list<string>myparams(++it, params.end());
|
56 |
list<string>myparams(++it, params.end());
|
56 |
myparams.push_back(fn);
|
57 |
myparams.push_back(fn);
|