Searched refs:line_ptr (Results 1 – 1 of 1) sorted by relevance
419 char *line_ptr = trim(line); in config_parse() local423 if (*line_ptr == '\0' || *line_ptr == '#') in config_parse()426 if (*line_ptr == '[') { in config_parse()427 size_t len = strlen(line_ptr); in config_parse()428 if (line_ptr[len - 1] != ']') { in config_parse()432 strncpy(section, line_ptr + 1, len - 2); in config_parse()435 char *split = strchr(line_ptr, '='); in config_parse()442 config_set_string(config, section, trim(line_ptr), trim(split + 1)); in config_parse()