Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/safe-pipe-capture' into maint-2.10
[gitweb.git]
/
strbuf.c
diff --git
a/strbuf.c
b/strbuf.c
index f3bd5719c636d10780e466e39f1145375c4cab68..b839be491b74a034cf848d2dd043aba7d75b7b92 100644
(file)
--- a/
strbuf.c
+++ b/
strbuf.c
@@
-187,7
+187,7
@@
void strbuf_insert(struct strbuf *sb, size_t pos, const void *data, size_t len)
void strbuf_remove(struct strbuf *sb, size_t pos, size_t len)
{
- strbuf_splice(sb, pos, len,
NULL
, 0);
+ strbuf_splice(sb, pos, len,
""
, 0);
}
void strbuf_add(struct strbuf *sb, const void *data, size_t len)