Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-send-email: Read the default SMTP server from the GIT config file
[gitweb.git]
/
help.c
diff --git
a/help.c
b/help.c
index 9ecdefdb03be7fac8d9283c93f2320f71bd062d6..0824c25226ad7b106e56d1b7c23fad40eed92749 100644
(file)
--- a/
help.c
+++ b/
help.c
@@
-184,7
+184,7
@@
static void show_man_page(const char *git_cmd)
page = git_cmd;
else {
int page_len = strlen(git_cmd) + 4;
- char *p = malloc(page_len + 1);
+ char *p =
x
malloc(page_len + 1);
strcpy(p, "git-");
strcpy(p + 4, git_cmd);
p[page_len] = 0;