|
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.3 2005-11-24 07:16:15 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: mh_exec.cpp,v 1.4 2006-01-19 17:11:46 dockes Exp $ (C) 2005 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
|
4 |
|
5 |
#include "execmd.h"
|
5 |
#include "execmd.h"
|
6 |
#include "mh_exec.h"
|
6 |
#include "mh_exec.h"
|
7 |
#include "mh_html.h"
|
7 |
#include "mh_html.h"
|
|
... |
|
... |
22 |
LOGERR(("MimeHandlerExec::mkDoc: empty params for mime %s\n",
|
22 |
LOGERR(("MimeHandlerExec::mkDoc: empty params for mime %s\n",
|
23 |
mtype.c_str()));
|
23 |
mtype.c_str()));
|
24 |
return MimeHandler::MHError;
|
24 |
return MimeHandler::MHError;
|
25 |
}
|
25 |
}
|
26 |
// Command name
|
26 |
// Command name
|
27 |
string cmd = find_filter(conf, params.front());
|
27 |
string cmd = conf->findFilter(params.front());
|
28 |
|
28 |
|
29 |
// Build parameter list: delete cmd name and add the file name
|
29 |
// Build parameter list: delete cmd name and add the file name
|
30 |
list<string>::iterator it = params.begin();
|
30 |
list<string>::iterator it = params.begin();
|
31 |
list<string>myparams(++it, params.end());
|
31 |
list<string>myparams(++it, params.end());
|
32 |
myparams.push_back(fn);
|
32 |
myparams.push_back(fn);
|