diff options
-rw-r--r-- | lib/Utils/strbuf.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/Utils/strbuf.h b/lib/Utils/strbuf.h index d0c9c981..8b43424a 100644 --- a/lib/Utils/strbuf.h +++ b/lib/Utils/strbuf.h @@ -24,10 +24,13 @@ extern "C" { #endif -struct strbuf { - int alloc; - int len; - char *buf; +struct strbuf +{ + /* Size of the allocated buffer. */ + int alloc; + /* Length of the message. */ + int len; + char *buf; }; extern struct strbuf *strbuf_new(); |