summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdhcp/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdhcp/client.c b/gdhcp/client.c
index 1919af79..b9a0e7fc 100644
--- a/gdhcp/client.c
+++ b/gdhcp/client.c
@@ -919,12 +919,12 @@ static GList *get_option_value_list(char *value)
while ((pos = strchr(pos, ' ')) != NULL) {
*pos = '\0';
- list = g_list_append(list, g_strdup(value));
+ list = g_list_append(list, g_strdup(value));
value = ++pos;
}
- list = g_list_append(list, g_strdup(value));
+ list = g_list_append(list, g_strdup(value));
return list;
}