git://git.jankratochvil.net
/
mdsms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed invalid parsing of text-mode received SMS timestamp
[mdsms.git]
/
mdsms.c
diff --git
a/mdsms.c
b/mdsms.c
index
21d6999
..
700cdc9
100644
(file)
--- a/
mdsms.c
+++ b/
mdsms.c
@@
-1634,8
+1634,6
@@
int i;
memset(&tm,0,sizeof(tm)); /* may be redundant */
for (i=0;i<NELEM(timeparse);i++)
GETTIME(i)=DIGIT2ASC(s+timeparse[i].strpos);
- if (tm.tm_year<70) tm.tm_year+=100;
- tm.tm_mon--;
maketime(s+2);
return(1);
#undef DIGIT2ASC