]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - client_common.c
client: Fix has_feature().
[paraslash.git] / client_common.c
index 2a6b47d6b2b095daadf05659eafd52abfb218b35..43527ddb71647eee5936760cda40e722085b21f8 100644 (file)
@@ -262,7 +262,7 @@ static bool has_feature(const char *feature, struct client_task *ct)
                return false;
        for (int i = 0; ct->features[i]; i++)
                if (strcmp(feature, ct->features[i]) == 0)
-                       return i;
+                       return true;
        return false;
 }