X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/db3f7b6972f3b003c0413b78afcfbe295ffe0b97..870ce70e11912e8858ef4c071f2778b93a4b2ac9:/src/src/lookups/sqlite.c diff --git a/src/src/lookups/sqlite.c b/src/src/lookups/sqlite.c index 4bf616052..6200d6c82 100644 --- a/src/src/lookups/sqlite.c +++ b/src/src/lookups/sqlite.c @@ -27,7 +27,7 @@ ret = sqlite3_open(CS filename, &db); if (ret != 0) { *errmsg = (void *)sqlite3_errmsg(db); - debug_printf("Error opening database: %s\n", *errmsg); + debug_printf_indent("Error opening database: %s\n", *errmsg); } sqlite3_busy_timeout(db, 1000 * sqlite_lock_timeout); @@ -79,7 +79,7 @@ gstring * res = NULL; ret = sqlite3_exec(handle, CS query, sqlite_callback, &res, (char **)errmsg); if (ret != SQLITE_OK) { - debug_printf("sqlite3_exec failed: %s\n", *errmsg); + debug_printf_indent("sqlite3_exec failed: %s\n", *errmsg); return FAIL; } @@ -131,7 +131,7 @@ if (opt != NULL) return NULL; /* No options recognized */ while ((c = *t++) != 0) if (c == '\'') count++; if (count == 0) return s; -t = quoted = store_get(Ustrlen(s) + count + 1); +t = quoted = store_get(Ustrlen(s) + count + 1, is_tainted(s)); while ((c = *s++) != 0) {