]> git.kaiwu.me - klib.git/commitdiff
removed incorrect comments
authorHeng Li <lh3@me.com>
Wed, 24 Jul 2013 15:19:38 +0000 (11:19 -0400)
committerHeng Li <lh3@me.com>
Wed, 24 Jul 2013 15:19:38 +0000 (11:19 -0400)
kstring.h

index 8671ba6d0e33b58c2df5a1fb8b9aed912a382ef6..0e654cb82dac9ce9a8642dbb3fede4ba7e199ea2 100644 (file)
--- a/kstring.h
+++ b/kstring.h
@@ -87,9 +87,6 @@ extern "C" {
 }
 #endif
 
-/* Ensures that the string has space for at least SIZE bytes, and ensures that
- * it is NUL-terminated if there is room.  Thus ks_resize(&s,s.l+1) can be used
- * to make sure that a kstring_t is both allocated and NUL-terminated.  */
 static inline int ks_resize(kstring_t *s, size_t size)
 {
        if (s->m < size) {