projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95fe6d2
)
checksum: Fix cr_checksum_type for sha checksum.
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Mon, 10 Jun 2013 12:49:28 +0000
(14:49 +0200)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Mon, 10 Jun 2013 12:49:28 +0000
(14:49 +0200)
src/checksum.c
patch
|
blob
|
history
diff --git
a/src/checksum.c
b/src/checksum.c
index
2431230
..
cbef9ec
100644
(file)
--- a/
src/checksum.c
+++ b/
src/checksum.c
@@
-62,7
+62,7
@@
cr_checksum_type(const char *name)
// SHA* family
char *sha_type = name_lower + 3;
if (!strcmp(sha_type, ""))
- return CR_CHECKSUM_SHA
1
;
+ return CR_CHECKSUM_SHA;
else if (!strcmp(sha_type, "1"))
return CR_CHECKSUM_SHA1;
else if (!strcmp(sha_type, "224"))