Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix definition of ARRAY_SIZE for non-gcc builds
[gitweb.git]
/
transport-helper.c
diff --git
a/transport-helper.c
b/transport-helper.c
index 6cd9dd1f9fe98e4c65156fba41172ba22d5be6de..0224687a2316798c57315093315eafae0da0b1aa 100644
(file)
--- a/
transport-helper.c
+++ b/
transport-helper.c
@@
-414,7
+414,7
@@
static int get_exporter(struct transport *transport,
struct child_process *helper = get_helper(transport);
int i;
-
memset(fastexport, 0, sizeof(*fastexport)
);
+
child_process_init(fastexport
);
/* we need to duplicate helper->in because we want to use it after
* fastexport is done with it. */