Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: allow test setup script to support PERL env. var
[gitweb.git]
/
http-push.c
diff --git
a/http-push.c
b/http-push.c
index 8cc8ee0dfd5c047b2523f63346bf9b30094c1386..00e83dcec1d973b069d4c75105aed96634b00994 100644
(file)
--- a/
http-push.c
+++ b/
http-push.c
@@
-193,6
+193,8
@@
static char *xml_entities(char *s)
case '&':
strbuf_addstr(&buf, "&");
break;
+ case 0:
+ return strbuf_detach(&buf, NULL);
}
s++;
}