]> git.ozlabs.org Git - ccan/commit
opt: incidental comment and whitespace repair
authorDouglas Bagnall <douglas@paradise.net.nz>
Sat, 13 Aug 2011 12:19:59 +0000 (21:49 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 13 Aug 2011 12:19:59 +0000 (21:49 +0930)
commitbabb23101ae447aefb65284b8f535f84e6a35008
tree8aa1f2fa8abddc16582b262300e6bb3ff0998c35
parentaf7afcd46e70e87397c33408d88f2bedd2c90bd8
opt: incidental comment and whitespace repair

This comment occurred in a couple of places:

 /* Set an integer value, various forms.  Sets to 1 on arg == NULL. */

One instance was clearly spurious, while the other was misleading.

Another resolution to this mismatch would be to add
"if (arg == NULL){*l = 1; return NULL}" somewhere, but I suspect
it may have been left out/removed because someone thought better.
ccan/opt/helpers.c