X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fstrset%2F_info;h=a3192325db721c67e374c354375317216709c577;hp=81e8f53cca08b73a3c1322d2da1cb6b7d4064c9a;hb=7c69053bd418bf0abd21f29e8cb11164684310ca;hpb=140cd1699215bdb2a849459644823b88ab7d42cf diff --git a/ccan/strset/_info b/ccan/strset/_info index 81e8f53c..a3192325 100644 --- a/ccan/strset/_info +++ b/ccan/strset/_info @@ -38,7 +38,7 @@ * for (word = strtok(file, " \t\r\n"); * word; * word = strtok(NULL, " \t\r\n")) { - * strset_set(&words, word); + * strset_add(&words, word); * } * strset_iterate(&words, dump, NULL); * printf("\n");