X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fstr_talloc%2F_info;h=b29a48799373f91dcefc2ebb344d39bd1abcc09f;hb=7851faa626656f37ffd2b4b5e70139403c8d3235;hp=186075f27b7176ff5c8623b028b22725b8f94772;hpb=7f63d84eb712c54c57c3d4e9a92ffefe2f1b2ade;p=ccan diff --git a/ccan/str_talloc/_info b/ccan/str_talloc/_info index 186075f2..b29a4879 100644 --- a/ccan/str_talloc/_info +++ b/ccan/str_talloc/_info @@ -25,7 +25,7 @@ * textfile = grab_file(NULL, argv[1], NULL); * if (!textfile) * err(1, "Failed reading %s", argv[1]); - * lines = strsplit(textfile, textfile, "\n", NULL); + * lines = strsplit(textfile, textfile, "\n"); * * // Join them back together with two linefeeds. * printf("%s", strjoin(textfile, lines, "\n\n")); @@ -35,7 +35,7 @@ * return 0; * } * - * License: LGPL (2 or any later version) + * License: LGPL (v2.1 or any later version) * Author: Rusty Russell */ int main(int argc, char *argv[]) @@ -44,6 +44,7 @@ int main(int argc, char *argv[]) return 1; if (strcmp(argv[1], "depends") == 0) { + printf("ccan/str\n"); printf("ccan/talloc\n"); printf("ccan/noerr\n"); return 0;