Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: just use Digest::MD5 instead of requiring it
[gitweb.git]
/
builtin-mailinfo.c
diff --git
a/builtin-mailinfo.c
b/builtin-mailinfo.c
index 583da38b6750185eb38f04d91555aa75ee4a77b0..6ee6b0b26c93b2155a02d2bf7d40c5c2d78519de 100644
(file)
--- a/
builtin-mailinfo.c
+++ b/
builtin-mailinfo.c
@@
-811,7
+811,7
@@
int cmd_mailinfo(int argc, const char **argv, const char *prefix)
metainfo_charset = def_charset;
else if (!strcmp(argv[1], "-n"))
metainfo_charset = NULL;
- else if (!
strncmp(argv[1], "--encoding=", 11
))
+ else if (!
prefixcmp(argv[1], "--encoding="
))
metainfo_charset = argv[1] + 11;
else
usage(mailinfo_usage);