|
a/src/utils/mimeparse.cpp |
|
b/src/utils/mimeparse.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: mimeparse.cpp,v 1.14 2006-09-19 14:19:32 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: mimeparse.cpp,v 1.15 2006-11-07 18:28:48 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
|
|
... |
|
... |
721 |
zonesecs = 3600 * hours;
|
721 |
zonesecs = 3600 * hours;
|
722 |
}
|
722 |
}
|
723 |
DATEDEB((stderr, "Tz: [%s] -> %d\n", it->c_str(), zonesecs));
|
723 |
DATEDEB((stderr, "Tz: [%s] -> %d\n", it->c_str(), zonesecs));
|
724 |
nozone:
|
724 |
nozone:
|
725 |
|
725 |
|
726 |
time_t tim = mktime(&tm);
|
726 |
time_t tim = timegm(&tm);
|
727 |
tim += zonesecs;
|
727 |
tim += zonesecs;
|
728 |
DATEDEB((stderr, "Date: %s uxtime %ld \n", ctime(&tim), tim));
|
728 |
DATEDEB((stderr, "Date: %s uxtime %ld \n", ctime(&tim), tim));
|
729 |
return tim;
|
729 |
return tim;
|
730 |
}
|
730 |
}
|
731 |
|
731 |
|