diff options
Diffstat (limited to 'net-mail/dbmail/files/dbmail-2.2.2-messages.patch')
-rw-r--r-- | net-mail/dbmail/files/dbmail-2.2.2-messages.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/net-mail/dbmail/files/dbmail-2.2.2-messages.patch b/net-mail/dbmail/files/dbmail-2.2.2-messages.patch deleted file mode 100644 index 3d85fc6bd..000000000 --- a/net-mail/dbmail/files/dbmail-2.2.2-messages.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/dbmail-message.c b/dbmail-message.c -index 21d5bcc..2feb35a 100644 ---- a/dbmail-message.c -+++ b/dbmail-message.c -@@ -885,10 +885,14 @@ static int _header_get_id(const struct D - u64_t tmp; - gpointer cacheid; - gchar *safe_header; -+ gchar *tmpheader; - -- if (! (safe_header = dm_strnesc(header,CACHE_WIDTH_NAME))) -+ if (! (tmpheader = dm_strnesc(header,CACHE_WIDTH_NAME))) - return -1; - -+ safe_header = g_ascii_strdown(tmpheader,-1); -+ g_free(tmpheader); -+ - cacheid = g_hash_table_lookup(self->header_dict, (gconstpointer)safe_header); - if (cacheid) { - *id = GPOINTER_TO_UINT(cacheid); -@@ -897,7 +901,7 @@ static int _header_get_id(const struct D - } - - GString *q = g_string_new(""); -- g_string_printf(q, "SELECT id FROM %sheadername WHERE headername='%s'", DBPFX, safe_header); -+ g_string_printf(q, "SELECT id FROM %sheadername WHERE lower(headername)='%s'", DBPFX, safe_header); - if (db_query(q->str) == -1) { - g_string_free(q,TRUE); - g_free(safe_header); |