[balsa] address: Fix a thinko



commit 78d9007f87149319b56f5674e89626cd9fa30374
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Jun 21 20:42:22 2019 -0400

    address: Fix a thinko
    
    * libbalsa/address.c (libbalsa_address_new_from_edit_entries):

 ChangeLog          | 6 ++++++
 libbalsa/address.c | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/ChangeLog b/ChangeLog
index 369584395..6e4964036 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-06-21  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       Fix a thinko
+
+       * libbalsa/address.c (libbalsa_address_new_from_edit_entries):
+
 2019-06-21  Peter Bloomfield  <pbloomfield bellsouth net>
 
        Allow address == NULL in libbalsa_address_set_edit_entries() and
diff --git a/libbalsa/address.c b/libbalsa/address.c
index bb9ed0ffe..5a324f272 100644
--- a/libbalsa/address.c
+++ b/libbalsa/address.c
@@ -1087,7 +1087,7 @@ libbalsa_address_new_from_edit_entries(GtkWidget ** entries)
         gtk_tree_model_get(model, &iter, 0, &email, -1);
         if (email != NULL) {
             if (email[0] != '\0')
-                list = g_list_prepend(email);
+                list = g_list_prepend(list, email);
             else
                 g_free(email);
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]