gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnokii] 01/01: SQLite module: fixed inserting the month number in inbox


From: Jan Derfinak
Subject: [gnokii] 01/01: SQLite module: fixed inserting the month number in inbox table. Author Pedro Aguilar.
Date: Fri, 23 May 2014 23:07:39 +0000

ja pushed a commit to branch master
in repository gnokii.

commit 9a6934715bd955859038b031e11547ceeeecc0b4
Author: Jan Derfinak <address@hidden>
Date:   Sat May 24 01:07:17 2014 +0200

    SQLite module: fixed inserting the month number in inbox table. Author 
Pedro Aguilar.
---
 smsd/sqlite.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/smsd/sqlite.c b/smsd/sqlite.c
index 0b2d12d..cf9b313 100644
--- a/smsd/sqlite.c
+++ b/smsd/sqlite.c
@@ -89,7 +89,7 @@ GNOKII_API gint DB_InsertSMS(const gn_sms * const data, const 
gchar * const phon
             data->smsc_time.year, data->smsc_time.month,
             data->smsc_time.day, data->smsc_time.hour,
             data->smsc_time.minute, data->smsc_time.second,
-            timeinfo->tm_year + 1900, timeinfo->tm_mon,
+            timeinfo->tm_year + 1900, timeinfo->tm_mon + 1,
             timeinfo->tm_mday, timeinfo->tm_hour,
             timeinfo->tm_min, timeinfo->tm_sec,
             text->str, phnStr->str);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]