Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
test-hashmap: use xsnprintf rather than snprintf
[gitweb.git]
/
strbuf.h
diff --git
a/strbuf.h
b/strbuf.h
index 295a6766eba766679cba25ce4889748e348e730d..0a74acb2369ac26cb56b05a953171330c3abe652 100644
(file)
--- a/
strbuf.h
+++ b/
strbuf.h
@@
-68,7
+68,7
@@
struct strbuf {
};
extern char strbuf_slopbuf[];
-#define STRBUF_INIT {
0, 0,
strbuf_slopbuf }
+#define STRBUF_INIT {
.alloc = 0, .len = 0, .buf =
strbuf_slopbuf }
/**
* Life Cycle Functions