Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Git.pm: Handle failed commands' output
[gitweb.git]
/
builtin-mailinfo.c
diff --git
a/builtin-mailinfo.c
b/builtin-mailinfo.c
index 821642a7af97e7afa13a187af5ec68c8a67ae93c..3e40747cf57ed4a8f7f20d83510ae08bcfcbd33a 100644
(file)
--- a/
builtin-mailinfo.c
+++ b/
builtin-mailinfo.c
@@
-165,7
+165,7
@@
static int handle_subject(char *line)
static int slurp_attr(const char *line, const char *name, char *attr)
{
- char *ends, *ap = strcasestr(line, name);
+ c
onst c
har *ends, *ap = strcasestr(line, name);
size_t sz;
if (!ap) {