[seahorse] Fixed bad usage of g_strconcat: missing NULL



commit e329c309f8330c140acb86d270f531f2fc1cca64
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Dec 29 18:46:50 2009 +0100

    Fixed bad usage of g_strconcat: missing NULL
    
    Closes: bgo#605367

 pgp/seahorse-gpg-options.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pgp/seahorse-gpg-options.c b/pgp/seahorse-gpg-options.c
index 9a37d9b..aa6158d 100644
--- a/pgp/seahorse-gpg-options.c
+++ b/pgp/seahorse-gpg-options.c
@@ -215,7 +215,7 @@ parse_home_directory (gpgme_engine_info_t engine, GError **err)
 
                     /* If it's not a rooted path then expand */
                     if (t[0] == '~') {
-                        gpg_homedir = g_strconcat (g_get_home_dir(), ++t);
+                        gpg_homedir = g_strconcat (g_get_home_dir(), ++t, NULL);
                     } else {
                         gpg_homedir = g_strdup (t);
                     }



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