From e747f62ed69504825beb2c52b8f0448b3d3b72ed Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 6 Oct 2007 20:47:53 +0000 Subject: - mark TODO: use index_in_str_array() --- networking/ifupdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 02e13ed27..bd53f93e8 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -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]; -- cgit v1.2.3