|
a/src/internfile/mimehandler.cpp |
|
b/src/internfile/mimehandler.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: mimehandler.cpp,v 1.14 2005-11-24 07:16:15 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: mimehandler.cpp,v 1.15 2005-11-25 08:52:39 dockes Exp $ (C) 2004 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
|
4 |
|
5 |
#include <iostream>
|
5 |
#include <iostream>
|
6 |
#include <string>
|
6 |
#include <string>
|
7 |
#ifndef NO_NAMESPACES
|
7 |
#ifndef NO_NAMESPACES
|
|
... |
|
... |
40 |
if (hs.empty())
|
40 |
if (hs.empty())
|
41 |
return 0;
|
41 |
return 0;
|
42 |
|
42 |
|
43 |
// Break definition into type and name
|
43 |
// Break definition into type and name
|
44 |
list<string> toks;
|
44 |
list<string> toks;
|
45 |
ConfTree::stringToStrings(hs, toks);
|
45 |
stringToStrings(hs, toks);
|
46 |
if (toks.empty()) {
|
46 |
if (toks.empty()) {
|
47 |
LOGERR(("getMimeHandler: bad mimeconf line for %s\n", mtype.c_str()));
|
47 |
LOGERR(("getMimeHandler: bad mimeconf line for %s\n", mtype.c_str()));
|
48 |
return 0;
|
48 |
return 0;
|
49 |
}
|
49 |
}
|
50 |
|
50 |
|