summaryrefslogtreecommitdiffabout
path: root/parsing.c
Unidiff
Diffstat (limited to 'parsing.c') (more/less context) (ignore whitespace changes)
-rw-r--r--parsing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parsing.c b/parsing.c
index 8aad1dd..1013dad 100644
--- a/parsing.c
+++ b/parsing.c
@@ -222,3 +222,3 @@ struct taginfo *cgit_parse_tag(struct tag *tag)
222 222
223 while (p) { 223 while (p && *p) {
224 if (*p == '\n') 224 if (*p == '\n')
@@ -240,3 +240,3 @@ struct taginfo *cgit_parse_tag(struct tag *tag)
240 p = strchr(p, '\n') + 1; 240 p = strchr(p, '\n') + 1;
241 if (p) 241 if (p && *p)
242 ret->msg = xstrdup(p); 242 ret->msg = xstrdup(p);