Commit 8e888d2c authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix huge bug in tags parsing.

parent 9683ebac
......@@ -72,7 +72,7 @@ static MSList * parse_tags(const char *tags) {
MSList *tags_list = NULL;
char *t;
char *p;
if ((tags == NULL) || (tags[0] != '\0')) return NULL;
if ((tags == NULL) || (tags[0] == '\0')) return NULL;
p = t = ms_strdup(tags);
while (p != NULL) {
char *next = strstr(p, ",");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment