aboutsummaryrefslogtreecommitdiff
path: root/libmm-common/mm-common-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-common/mm-common-helpers.c')
-rw-r--r--libmm-common/mm-common-helpers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmm-common/mm-common-helpers.c b/libmm-common/mm-common-helpers.c
index 422f954d..d0dd83c5 100644
--- a/libmm-common/mm-common-helpers.c
+++ b/libmm-common/mm-common-helpers.c
@@ -346,7 +346,7 @@ mm_common_parse_key_value_string (const gchar *str,
gboolean keep_iteration = FALSE;
/* Skip leading spaces */
- while (*p && g_ascii_isspace (*p))
+ while (g_ascii_isspace (*p))
p++;
/* Key start */
@@ -371,7 +371,7 @@ mm_common_parse_key_value_string (const gchar *str,
}
/* Skip whitespaces, if any */
- while (*p && g_ascii_isspace (*p))
+ while (g_ascii_isspace (*p))
p++;
/* Equal sign must be here */
@@ -385,7 +385,7 @@ mm_common_parse_key_value_string (const gchar *str,
p++;
/* Skip whitespaces, if any */
- while (*p && g_ascii_isspace (*p))
+ while (g_ascii_isspace (*p))
p++;
/* Do we have a quote-enclosed string? */
@@ -421,7 +421,7 @@ mm_common_parse_key_value_string (const gchar *str,
/* Note that we allow value == value_end here */
/* Skip whitespaces, if any */
- while (*p && g_ascii_isspace (*p))
+ while (g_ascii_isspace (*p))
p++;
/* If a comma is found, we should keep the iteration */