[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SQLite patch for smsd
From: |
slaweks82 |
Subject: |
Re: SQLite patch for smsd |
Date: |
Wed, 21 Jul 2010 06:02:40 -0700 (PDT) |
Hi!
Tnx for your patch, now I'm using gnokii + sqlite :)
But can smbd check my patch pls? I think there is bug in smsd/sqlite.c line
125
diff -Nura ./gnokii-0.6.29-jest-ok/smsd/sqlite.c
./gnokii-0.6.29/smsd/sqlite.c
--- ./gnokii-0.6.29-jest-ok/smsd/sqlite.c
+++ ./gnokii-0.6.29/smsd/sqlite.c
@@ -122,7 +122,7 @@
int i;
for (i = 0; i < 6; i++) {
error = sqlite3_step(stmt);
- if (error = SQLITE_DONE)
+ if (error == SQLITE_DONE)
break;
sleep(1);
@@ -135,7 +135,7 @@
g_print(_("Error %d: %s\n"), error, sqlite3_errmsg(ppDbInbox));
g_print(_("Query: %s\n"), buf->str);
g_string_free(buf, TRUE);
- return (1);
+ return SMSD_NOK;
}
sqlite3_finalize(stmt);
regards
Slawek
--
View this message in context:
http://old.nabble.com/SQLite-patch-for-smsd-tp28152010p29225430.html
Sent from the gnokii-users mailing list archive at Nabble.com.
- Re: SQLite patch for smsd,
slaweks82 <=