summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Utils/strbuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Utils/strbuf.h b/lib/Utils/strbuf.h
index 8b43424a..bc843f95 100644
--- a/lib/Utils/strbuf.h
+++ b/lib/Utils/strbuf.h
@@ -26,9 +26,9 @@ extern "C" {
struct strbuf
{
- /* Size of the allocated buffer. */
+ /* Size of the allocated buffer. Always > 0. */
int alloc;
- /* Length of the message. */
+ /* Length of the message, without the ending \0. */
int len;
char *buf;
};