]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-sql: Replace i_<log>() with e_<log>()
authorMarco Bettini <marco.bettini@open-xchange.com>
Tue, 4 Oct 2022 14:59:44 +0000 (14:59 +0000)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 26 Oct 2022 16:35:08 +0000 (16:35 +0000)
src/lib-sql/sql-api.c

index 5923dca25b55b752d6a841796b09b4c98030e63b..622360503b70a606f9ee155c06a589a667b57590 100644 (file)
@@ -557,13 +557,15 @@ static void sql_result_fetch(struct sql_result *result)
                case SQL_TYPE_UINT: {
                        if (value != NULL &&
                            str_to_uint(value, (unsigned int *)ptr) < 0)
-                               i_error("sql: Value not uint: %s", value);
+                               e_error(result->event,
+                                       "Value not uint: %s", value);
                        break;
                }
                case SQL_TYPE_ULLONG: {
                        if (value != NULL &&
                            str_to_ullong(value, (unsigned long long *)ptr) < 0)
-                               i_error("sql: Value not ullong: %s", value);
+                               e_error(result->event,
+                                       "Value not ullong: %s", value);
                        break;
                }
                case SQL_TYPE_BOOL: {