| 1756 |
1756 |
| 1757 logfound = 1; |
1757 logfound = 1; |
| 1758 lastoff = offset; |
1758 lastoff = offset; |
| 1759 |
1759 |
| 1760 g_snprintf(convostart, length, "%s", temp); |
1760 g_snprintf(convostart, length, "%s", temp); |
| |
1761 memset(&tm, 0, sizeof(tm)); |
| 1761 sscanf(convostart, "%*s %s %d %d:%d:%d %d", |
1762 sscanf(convostart, "%*s %s %d %d:%d:%d %d", |
| 1762 month, &tm.tm_mday, &tm.tm_hour, &tm.tm_min, &tm.tm_sec, &tm.tm_year); |
1763 month, &tm.tm_mday, &tm.tm_hour, &tm.tm_min, &tm.tm_sec, &tm.tm_year); |
| 1763 /* Ugly hack, in case current locale is not English */ |
1764 /* Ugly hack, in case current locale is not English */ |
| 1764 if (strcmp(month, "Jan") == 0) { |
1765 if (strcmp(month, "Jan") == 0) { |
| 1765 tm.tm_mon= 0; |
1766 tm.tm_mon= 0; |