X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=client_common.c;h=43527ddb71647eee5936760cda40e722085b21f8;hb=84eff8315955e1a6da8c3d15fa6c18203d55aa4a;hp=2a6b47d6b2b095daadf05659eafd52abfb218b35;hpb=6e3e710015b0b2c208b80a91d5f7842482359db2;p=paraslash.git diff --git a/client_common.c b/client_common.c index 2a6b47d6..43527ddb 100644 --- a/client_common.c +++ b/client_common.c @@ -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; }