X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fnoerr%2F_info;h=85f1f6f9c3906496969eba2b234fe11146b92749;hb=bcca516976312896eca1b0def6d3557d192baa89;hp=8749f8776ab408cd6e35a639e1d57983dd496e9b;hpb=8fc7a90a8db345c4276419d11f8731afc63f65f5;p=ccan diff --git a/ccan/noerr/_info b/ccan/noerr/_info index 8749f877..85f1f6f9 100644 --- a/ccan/noerr/_info +++ b/ccan/noerr/_info @@ -1,6 +1,6 @@ +#include "config.h" #include #include -#include "config.h" /** * noerr - routines for cleaning up without blatting errno @@ -37,7 +37,7 @@ * return false; * } * // A short write means out of space. - * if (ret < strlen(string)) { + * if (ret < (int)strlen(string)) { * unlink(file); * errno = ENOSPC; * return false; @@ -45,7 +45,7 @@ * return true; * } * - * License: LGPL (v2.1 or any later version) + * License: CC0 (Public domain) * Author: Rusty Russell */ int main(int argc, char *argv[])