.
-Original Message-
From: Angel Fradejas
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 14, 2002
8:29 PM
To: Kannel Developers
Subject: timestamps with emi2
I recently began to work
with a EMI2 smsc link, and have a question about the calculation
ersSubject:
timestamps with emi2
I recently
began to work with a EMI2 smsc link, and have a question about the calculation
of the timestampsfor the MO messges.
First,the code at
smsc_emi2.c splits day,month,year, and so on, and then it takes the
correspond
please send fixes in diff -u format attached as plain/text to the
devel@ list.
There are a couple of guys working (more or less) as active CVS
commiters, see ChangeLog. If your patch doesn't get applied for some
days ask someone personaly to commit it.
When you have contributed some patches we
Hi Stipe,
Here you have the patch to date.c
Angel Fradejas.
-Mensaje original-
De: Stipe Tolj [mailto:[EMAIL PROTECTED]]
Enviado el: martes 15 de enero de 2002 12:12
Para: Angel Fradejas
CC: Kannel Developers
Asunto: Re: timestamps with emi2
please send fixes in diff -u format
I recently
began to work with a EMI2 smsc link, and have a question about the calculation
of the timestampsfor the MO messges.
First,the code at smsc_emi2.c splits day,month,year, and so on, and
then it takes the corresponding time_t by calling
date_convert_universal.
The question
is
I think the problem is in de date.c function date_convert_universal:
line 81: date += monthstart[t-month] * DAY;
Shouldn't it be
line 81: date += monthstart[t-month-1] * DAY;
?
Or am I doing something wrong?
I need exacts timestamps because we have to do accounting fo the sms
traffic.