Code

screen_search: removed check for MPD >= 0.12
authorMax Kellermann <max@duempel.org>
Fri, 2 Oct 2009 07:45:10 +0000 (09:45 +0200)
committerMax Kellermann <max@duempel.org>
Fri, 2 Oct 2009 07:45:10 +0000 (09:45 +0200)
Redundant, this is checked in main.c right after connection was
established.

src/screen_search.c

index 3829f8dfa1bcbbd3d037265db62906c4058cd6f7..269fedd058649529aca768d476e2de67c5bb6860 100644 (file)
@@ -321,9 +321,7 @@ search_new(struct mpdclient *c)
                browser.filelist = NULL;
        }
 
-       if (mpd_connection_cmp_server_version(c->connection, 0, 12, 0) >= 0)
-               browser.filelist = search_advanced_query(pattern, c);
-
+       browser.filelist = search_advanced_query(pattern, c);
        if (!advanced_search_mode && browser.filelist == NULL)
                browser.filelist = filelist_search(c, FALSE,
                                                  mode[options.search_mode].table,