0.9.0claws10

* src/account.c
        don't use substring search to find accounts by email address

(closes Bug 169 Overly loose matching of "From" address)
This commit is contained in:
Christoph Hohmann 2003-06-01 18:10:57 +00:00
parent dd72d5e94d
commit 4a3abe0b08
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2003-06-01 [christoph] 0.9.0claws10
* src/account.c
don't use substring search to find accounts by email address
(closes Bug 169 Overly loose matching of "From" address)
2003-05-31 [christoph] 0.9.0claws9
* doc-src/rfc2683.txt
@ -6,6 +13,9 @@
(message number lists will be split into multiple imap
sets, the limit of 1000 octets is not a hard limit)
(closes Bug 161 sylpheed-claws exits with segfault when logging
in to certain imap-servers)
2003-05-29 [alfons] 0.9.0claws8
* src/toolbar.[ch]

View file

@ -11,7 +11,7 @@ MINOR_VERSION=9
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=claws9
EXTRA_VERSION=claws10
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target

View file

@ -234,7 +234,7 @@ PrefsAccount *account_find_from_address(const gchar *address)
for (cur = account_list; cur != NULL; cur = cur->next) {
ac = (PrefsAccount *)cur->data;
if (ac->protocol != A_NNTP && ac->address &&
strcasestr(address, ac->address) != NULL)
g_strcasecmp(address, ac->address) == 0)
return ac;
}