diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.ja | 6 | ||||
-rw-r--r-- | src/account.c | 3 |
4 files changed, 15 insertions, 1 deletions
@@ -119,3 +119,4 @@ contributors (beside the above; based on Changelog) Sergey Pinaev Hiroyuki Ikezoe mori + Michael Schwendt @@ -1,3 +1,9 @@ +2005-03-18 + + * src/account.c: account_find_from_message_file(): added missing + NULL terminator of the HeaderEntry array which had introduced + crash on re-edit (thanks to Michael Schwendt). + 2005-03-17 * src/utils.c: strncpy2(): optimized based on Alfons' code. diff --git a/ChangeLog.ja b/ChangeLog.ja index 4fbf5b09..95ff9a63 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,9 @@ +2005-03-18 + + * src/account.c: account_find_from_message_file(): HeaderEntry 配列 + の NULL 終端が抜けていたのを追加(再編集時にクラッシュを起こして + いた) (Michael Schwendt さん thanks)。 + 2005-03-17 * src/utils.c: strncpy2(): Alfons さんのコードに基づいて最適化。 diff --git a/src/account.c b/src/account.c index d745426c..b4861cad 100644 --- a/src/account.c +++ b/src/account.c @@ -256,7 +256,8 @@ PrefsAccount *account_find_from_message_file(const gchar *file) { static HeaderEntry hentry[] = {{"From:", NULL, FALSE}, {"X-Sylpheed-Account-Id:", NULL, FALSE}, - {"AID:", NULL, FALSE}}; + {"AID:", NULL, FALSE}, + {NULL, NULL, FALSE}}; enum { |