diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2008-11-03 13:16:58 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@saftware.de> | 2008-11-06 01:47:04 +0100 |
| commit | a90536f463e947c84cc158435599d66bd61c10c8 (patch) | |
| tree | 01258dc120c0f60abe270afb1dc75c8949fda8b6 /lib/service/service.cpp | |
| parent | 58fe3de03d974c022df060acdf5d0e3dbc5bac90 (diff) | |
| download | enigma2-a90536f463e947c84cc158435599d66bd61c10c8.tar.gz enigma2-a90536f463e947c84cc158435599d66bd61c10c8.zip | |
fix decode
Diffstat (limited to 'lib/service/service.cpp')
| -rw-r--r-- | lib/service/service.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/service/service.cpp b/lib/service/service.cpp index 7721fed7..f34237d2 100644 --- 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; - 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; } |
