X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fstrset%2Fstrset.h;h=9d6f1ae343f5b4904e3eaf725d26c6a89cc7f331;hb=2581e470853736444e23e8ccef97a0a38c6236d3;hp=05e1e358a8ee2f56fb82a7b1124fc15a783c7013;hpb=7c69053bd418bf0abd21f29e8cb11164684310ca;p=ccan diff --git a/ccan/strset/strset.h b/ccan/strset/strset.h index 05e1e358..9d6f1ae3 100644 --- a/ccan/strset/strset.h +++ b/ccan/strset/strset.h @@ -113,16 +113,16 @@ void strset_clear(struct strset *set); * @arg: the argument for the function (types should match). * * You should not alter the set within the @handle function! If it returns - * true, the iteration will stop. + * false, the iteration will stop. * * Example: * static bool dump_some(const char *member, int *num) * { * // Only dump out num nodes. * if (*(num--) == 0) - * return true; + * return false; * printf("%s\n", member); - * return false; + * return true; * } * * static void dump_set(const struct strset *set)