[geary/mjog/rfc822-cleanup: 16/21] fixup ctor exceptions
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/rfc822-cleanup: 16/21] fixup ctor exceptions
- Date: Wed, 6 May 2020 04:53:18 +0000 (UTC)
commit ae613165dfd5a7fae570e0a78f80381e41a83af1
Author: Michael Gratton <mike vee net>
Date: Wed May 6 12:19:57 2020 +1000
fixup ctor exceptions
src/engine/rfc822/rfc822-message-data.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/engine/rfc822/rfc822-message-data.vala b/src/engine/rfc822/rfc822-message-data.vala
index 02faf15e8..e228b3443 100644
--- a/src/engine/rfc822/rfc822-message-data.vala
+++ b/src/engine/rfc822/rfc822-message-data.vala
@@ -396,7 +396,7 @@ public class Geary.RFC822.Header :
GMime.HeaderList headers = this.message.get_header_list();
var names = new string[headers.get_count()];
for (int i = 0; i < names.length; i++) {
- names[i] = headers.get_header_at(0).get_name();
+ names[i] = headers.get_header_at(i).get_name();
}
this.names = names;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]