bug with date_convert_universal()

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi list.

date_convert_universal() get a "universaltime" structure as input, which
its month member is defined as having a range of 0 to 11, but
date_convert_universal assumes that it will get the month as 1-12 - from
the code :
    date += monthstart[t->month-1] * DAY;

--
Oded Arbel
m-Wise Inc.
[email protected]

I do not fear Satan half so much as I fear those who fear him.
	-- Theresa of Avila
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.