[girl] Apply patch from bugzilla #777435 ("Add NULL sentinel for g_strconcat") by Dominique Leuenberger.



commit 2cf514c9727db0da9814426af21b72ebab382915
Author: Ole Aamot <oka oka no>
Date:   Wed Jan 18 12:17:09 2017 +0100

    Apply patch from bugzilla #777435 ("Add NULL sentinel for g_strconcat") by Dominique Leuenberger.

 src/girl-station.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/girl-station.c b/src/girl-station.c
index 2e483e3..cceda7f 100644
--- a/src/girl-station.c
+++ b/src/girl-station.c
@@ -742,7 +742,7 @@ gint girl_station_update (GirlStationInfo *head, gchar *station_band, gchar *sta
 
        if (local_girl_file == 0) {
 
-               gchar *local_girl_directory = g_strconcat(g_get_home_dir(), "/.girl");
+               gchar *local_girl_directory = g_strconcat(g_get_home_dir(), "/.girl", NULL);
                g_mkdir_with_parents (local_girl_directory, 0700);
                
        }


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