Code

Small bugfixes for http-push.c
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Mon, 7 Nov 2005 18:23:11 +0000 (19:23 +0100)
committerJunio C Hamano <junkio@cox.net>
Mon, 7 Nov 2005 21:29:41 +0000 (13:29 -0800)
commit92e2eb9c0a868348dd2caf2b923fd6542ca7ceb7
tree7633103f614e7905a6c057d49a444afb8501180d
parent0dd276b8713a484496a2ef694b6c72b1ddbef08b
Small bugfixes for http-push.c

This patch fixes three things:

- older libexpat does not know about enum XML_Status
- as in my patch for http-fetch, do not rely on a curl result in
free()d data
- calloc the new_lock structure

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-push.c