- mark TODO: use index_in_str_array()

This commit is contained in:
Bernhard Reutner-Fischer 2007-10-06 20:47:53 +00:00
parent 339936be00
commit e747f62ed6

View File

@ -633,7 +633,7 @@ static const struct method_t *get_method(const struct address_family_t *af, char
if (!name)
return NULL;
/* TODO: use index_in_str_array() */
for (i = 0; i < af->n_methods; i++) {
if (strcmp(af->method[i].name, name) == 0) {
return &af->method[i];