]> err.no Git - mapper/commitdiff
Fix
authorKaj-Michael Lang <milang@angel.tal.org>
Thu, 14 Jun 2007 22:05:09 +0000 (01:05 +0300)
committerKaj-Michael Lang <milang@angel.tal.org>
Thu, 14 Jun 2007 22:05:09 +0000 (01:05 +0300)
src/poi.c

index 3fc610d515056b69ed7664c8f250f91d6dfe3e3a..5ba26d337edfbf0cdbd8f5157229a97f10b2ec9e 100644 (file)
--- a/src/poi.c
+++ b/src/poi.c
@@ -121,7 +121,7 @@ poi_db_create(sqlite3 *db)
                     _("Miscellaneous category for everything else."));
 
                if (SQLITE_OK !=
-                   sqlite3_exec(&db, create_sql, NULL, NULL, &perror)
+                   sqlite3_exec(db, create_sql, NULL, NULL, &perror)
                    && (SQLITE_OK !=
                        sqlite3_get_table(db, "select label from poi limit 1",
                                          &pszResult, &nRow, &nColumn, NULL))) {