projects
/
librfid
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b2eeb3
)
Parse mifare keys with colons correctly (Rainer Keller)
author
Harald Welte
<laforge@gnumonks.org>
Tue, 22 Jan 2008 15:44:21 +0000
(15:44 +0000)
committer
Harald Welte
<laforge@gnumonks.org>
Tue, 22 Jan 2008 15:44:21 +0000
(15:44 +0000)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@2037
e0336214
-984f-0b4b-a45f-
81c69e1f0ede
utils/common.c
patch
|
blob
|
history
diff --git
a/utils/common.c
b/utils/common.c
index
08c7c1f
..
12c3bd4
100644
(file)
--- a/
utils/common.c
+++ b/
utils/common.c
@@
-55,10
+55,8
@@
hexread(unsigned char *result, const unsigned char *in, unsigned int len)
unsigned char *res = result;
for (pos = in; pos-in <= len-2; pos+=2) {
- if (*pos == ':')
{
+ if (*pos == ':')
pos++;
- continue;
- }
dig1 = *pos;
dig2 = *(pos+1);