Switch to unified view

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.24 2008-10-06 06:22:46 dockes Exp $ (C) 2004 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: mimehandler.cpp,v 1.25 2008-10-09 09:19:37 dockes Exp $ (C) 2004 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
...
...
104
    nm = line.substr(0, eqpos);
104
    nm = line.substr(0, eqpos);
105
    trimstring(nm);
105
    trimstring(nm);
106
    val = line.substr(eqpos+1, string::npos);
106
    val = line.substr(eqpos+1, string::npos);
107
    trimstring(val);
107
    trimstring(val);
108
    if (!nm.compare("charset")) {
108
    if (!nm.compare("charset")) {
109
      h->cfgCharset = val;
109
      h->cfgCharset = stringtolower((const string&)val);
110
    } else if (!nm.compare("mimetype")) {
110
    } else if (!nm.compare("mimetype")) {
111
      h->cfgMtype = val;
111
      h->cfgMtype = stringtolower((const string&)val);
112
    }
112
    }
113
    }
113
    }
114
114
115
#if 0
115
#if 0
116
    string sparams;
116
    string sparams;