diff options
author | Lars Hjemli <hjemli@gmail.com> | 2008-09-14 09:45:37 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-09-15 22:33:11 +0200 |
commit | a8305a9543969206aa7cec03948c5a19950eedb9 (patch) | |
tree | 8e2cf67ec72bc296b76a4fcb6db5ec8250f0a502 /cgit.h | |
parent | Update Makefile to use GIT-1.6.0.1 (diff) | |
download | cgit-pink-a8305a9543969206aa7cec03948c5a19950eedb9.tar.gz cgit-pink-a8305a9543969206aa7cec03948c5a19950eedb9.zip |
parsing.c: be prepared for unexpected content in commit/tag objects
When parsing commits and tags cgit made too many assumptions about the formatting of said objects. This patch tries to make the code be more prepared to handle 'malformed' objects. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | cgit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit.h b/cgit.h index 1615616..08fd95a 100644 --- a/cgit.h +++ b/cgit.h @@ -85,7 +85,7 @@ struct commitinfo { struct taginfo { char *tagger; char *tagger_email; - int tagger_date; + unsigned long tagger_date; char *msg; }; |