From: Andrea Zagli Date: Mon, 7 Dec 2015 09:27:45 +0000 (+0100) Subject: Use of wrong variable in ::get_gdatetime_from_string. X-Git-Tag: v0.0.1~6 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=599ede037055877d0bd0153751a8c21b46f214b9;p=libzakutils Use of wrong variable in ::get_gdatetime_from_string. --- diff --git a/src/datetime.c b/src/datetime.c index f097661..a5787f2 100644 --- a/src/datetime.c +++ b/src/datetime.c @@ -393,7 +393,7 @@ GDateTime return NULL; } - str_tokens = g_strsplit_set (string, delimiters, -1); + str_tokens = g_strsplit_set (new_str, delimiters, -1); if (str_tokens == NULL) { g_free (delimiters); @@ -402,7 +402,7 @@ GDateTime return NULL; } - format_tokens = g_strsplit_set (format, delimiters, -1); + format_tokens = g_strsplit_set (new_format, delimiters, -1); if (format_tokens == NULL) { g_free (delimiters);