git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
58fe3de
)
fix decode
author
Felix Domke
<tmbinc@elitedvb.net>
Mon, 3 Nov 2008 12:16:58 +0000
(13:16 +0100)
committer
Andreas Oberritter
<obi@saftware.de>
Thu, 6 Nov 2008 00:47:04 +0000
(
01:47
+0100)
lib/service/service.cpp
patch
|
blob
|
history
diff --git
a/lib/service/service.cpp
b/lib/service/service.cpp
index 7721fed7adaaeffb4282d40699918db8064aa412..f34237d2307e623a2212161a714b81199bd54f7c 100644
(file)
--- a/
lib/service/service.cpp
+++ b/
lib/service/service.cpp
@@
-41,8
+41,8
@@
static std::string decode(const std::string s)
i += 2;
if (i >= len)
break;
i += 2;
if (i >= len)
break;
- char
s
[3] = {s[i - 1], s[i], 0};
- unsigned char r = strtoul(
s
, 0, 0x10);
+ char
t
[3] = {s[i - 1], s[i], 0};
+ unsigned char r = strtoul(
t
, 0, 0x10);
if (r)
res += r;
}
if (r)
res += r;
}