if(len >= 30) return 0;
if(len >= 30 || list->l >= list->m) return 0;
int add_string(struct CONFIG_LIST *list, char * in_name, int len){     int i = 0;     struct CONFIG_NODE *cur;     char name[31];     char lower_name[30];          if(len >= 30) return 0; //Too big to be a name     if(strlen(in_name) <= 0 || list->l >= list->m) return 0;          while(*in_name != '\0') {          lower_name[i++] = tolower(*in_name);          in_name++;     }          strcpy(name, tolower(lower_name));     cur = list->list;     while(cur->next) cur = cur->next;          cur->next = malloc(sizeof(struct CONFIG_LIST));     cur->next->prev = cur;     cur = cur->next;          strcpy(cur->data, name);     cur->len = i;          return list->l++;;}