diff options
author | Lukas Fleischer | 2014-01-15 23:09:08 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2014-01-16 00:53:08 +0100 |
commit | 2a7dd4bf67edeff2c6c4f6d6d39d2d7f954d978a (patch) | |
tree | e38faacf4dedc55f9f344ae610ecffd6b0ef4763 /parsing.c | |
parent | c01fb69fc9f773718b8a147f0bc780f04ee9399c (diff) | |
download | cgit-2a7dd4bf67edeff2c6c4f6d6d39d2d7f954d978a.tar.gz cgit-2a7dd4bf67edeff2c6c4f6d6d39d2d7f954d978a.tar.bz2 cgit-2a7dd4bf67edeff2c6c4f6d6d39d2d7f954d978a.zip |
parsing.c: Remove leading space from committer
This did not really break anything in the past since spaces are ignored
when rendering HTML. Remove the preceding space anyway to prevent from
potential future problems.
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'parsing.c')
-rw-r--r-- | parsing.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -156,7 +156,7 @@ struct commitinfo *cgit_parse_commit(struct commit *commit) | |||
156 | } | 156 | } |
157 | 157 | ||
158 | if (p && !prefixcmp(p, "committer ")) { | 158 | if (p && !prefixcmp(p, "committer ")) { |
159 | p = parse_user(p + 9, &ret->committer, &ret->committer_email, | 159 | p = parse_user(p + 10, &ret->committer, &ret->committer_email, |
160 | &ret->committer_date); | 160 | &ret->committer_date); |
161 | } | 161 | } |
162 | 162 | ||