clear property if not found

This commit is contained in:
Laurent Vivier 2007-09-17 12:07:42 +00:00
parent dd9b4869c5
commit f215102d83

View File

@ -36,8 +36,10 @@ int config_find_indexed_property(int8_t *configuration, char *index_name, char *
{
if (name == NULL)
return last_index;
return -1;
break;
}
}
if (property)
property[0] = 0; /* clear property */
return -1;
}