X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fstr_talloc%2F_info;h=4edee27b2a5d7027d5d33a6fd65794efd98c6210;hp=aaf9d996d0f5553ef5fc554a44bd39631e5e2055;hb=72e974b25a04a72a1123501aafbb3b5d39019d42;hpb=570c9c555f076e74f46141bb42b5d1d7ac89f632 diff --git a/ccan/str_talloc/_info b/ccan/str_talloc/_info index aaf9d996..4edee27b 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,8 @@ * return 0; * } * - * Licence: LGPL (2 or any later version) + * License: LGPL (2 or any later version) + * Author: Rusty Russell */ int main(int argc, char *argv[]) { @@ -43,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;