Searched refs:line_ptr (Results 1 – 1 of 1) sorted by relevance
501 char* line_ptr = trim(line); in config_parse() local505 if (*line_ptr == '\0' || *line_ptr == '#') continue; in config_parse()507 if (*line_ptr == '[') { in config_parse()508 size_t len = strlen(line_ptr); in config_parse()509 if (line_ptr[len - 1] != ']') { in config_parse()514 strncpy(section, line_ptr + 1, len - 2); // NOLINT (len < 1024) in config_parse()517 char* split = strchr(line_ptr, '='); in config_parse()525 config_set_string(config, section, trim(line_ptr), trim(split + 1)); in config_parse()