aboutsummaryrefslogtreecommitdiffstats
path: root/parsing.c
diff options
context:
space:
mode:
authorJonathan Bastien-Filiatrault2007-10-26 18:09:06 -0400
committerJonathan Bastien-Filiatrault2007-11-05 18:13:30 -0500
commit3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b (patch)
tree548671b6339e9a1a252ded4d534f11bfcd560043 /parsing.c
parent72ede12551af320b6d8eade853dbd2cd6f2222cc (diff)
downloadcgit-3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b.tar.gz
cgit-3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b.tar.bz2
cgit-3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b.zip
Add commit->msg_encoding, allocate msg dynamicly.
Diffstat (limited to 'parsing.c')
-rw-r--r--parsing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parsing.c b/parsing.c
index 30e7648..0412a9c 100644
--- a/parsing.c
+++ b/parsing.c
@@ -199,6 +199,7 @@ struct commitinfo *cgit_parse_commit(struct commit *commit)
199 ret->committer_email = NULL; 199 ret->committer_email = NULL;
200 ret->subject = NULL; 200 ret->subject = NULL;
201 ret->msg = NULL; 201 ret->msg = NULL;
202 ret->msg_encoding = NULL;
202 203
203 if (p == NULL) 204 if (p == NULL)
204 return ret; 205 return ret;