Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Allow cloning to an existing empty directory
[gitweb.git]
/
http.c
diff --git
a/http.c
b/http.c
index c18e30abe84eee8d879814227d0433e9219e1273..ee58799ca8cd433218ca7d40946580732a9010e7 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-408,7
+408,7
@@
static struct fill_chain *fill_cfg = NULL;
void add_fill_function(void *data, int (*fill)(void *))
{
- struct fill_chain *new = malloc(sizeof(*new));
+ struct fill_chain *new =
x
malloc(sizeof(*new));
struct fill_chain **linkp = &fill_cfg;
new->data = data;
new->fill = fill;