diff --git a/apps/lib/apps.c b/apps/lib/apps.c index 61b3ebc6de..69a98ecf37 100644 --- a/apps/lib/apps.c +++ b/apps/lib/apps.c @@ -641,12 +641,8 @@ void* app_malloc(int sz, const char *what) char *next_item(char *opt) /* in list separated by comma and/or space */ { /* advance to separator (comma or whitespace), if any */ - while (*opt != ',' && !isspace(*opt) && *opt != '\0') { - if (*opt == '\\' && opt[1] != '\0') - /* skip and unescape '\' escaped char */ - memmove(opt, opt + 1, strlen(opt)); + while (*opt != ',' && !isspace(*opt) && *opt != '\0') opt++; - } if (*opt != '\0') { /* terminate current item */ *opt++ = '\0';