summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e292f5e)
raw | patch | inline | side by side (parent: e292f5e)
author | Sebastian Harl <sh@tokkee.org> | |
Thu, 5 Sep 2013 16:27:10 +0000 (18:27 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 5 Sep 2013 16:27:10 +0000 (18:27 +0200) |
src/utils/strbuf.c | patch | blob | history |
diff --git a/src/utils/strbuf.c b/src/utils/strbuf.c
index c8e7e633a27452ade2e8bdb85f078cb542e9e63f..7c24b3a8a75733382274d3f34f4ea46a46283f80 100644 (file)
--- a/src/utils/strbuf.c
+++ b/src/utils/strbuf.c
if (! strbuf)
return -1;
- assert(strbuf->size || (strbuf->pos < strbuf->size));
+ assert((!strbuf->size) || (strbuf->pos < strbuf->size));
assert(strbuf->pos <= strbuf->size);
while ((strbuf->pos > 0)