]> git.ozlabs.org Git - ccan/commitdiff
tal/str: always create strings which have tal_count() == strlen() + 1.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 27 Jul 2018 06:25:50 +0000 (15:55 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 27 Jul 2018 06:25:50 +0000 (15:55 +0930)
This is least-surprise, but also means callers can sometimes do faster
string handling by avoiding strstr().

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found