git://git.jankratochvil.net
/
mdsms.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
30abdc1
)
Fixed invalid parsing of text-mode received SMS timestamp
author
short
<>
Sat, 26 May 2001 06:53:06 +0000
(06:53 +0000)
committer
short
<>
Sat, 26 May 2001 06:53:06 +0000
(06:53 +0000)
- bugreported by Massimo Chieruzzi <zcool@sandlab.org>
mdsms.c
patch
|
blob
|
history
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