- mark TODO: use index_in_str_array()
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 6 Oct 2007 20:47:53 +0000 (20:47 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 6 Oct 2007 20:47:53 +0000 (20:47 -0000)
networking/ifupdown.c

index 02e13ed..bd53f93 100644 (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];