Switch to unified view
a/src/bincimapmime/convert.h | b/src/bincimapmime/convert.h | ||
---|---|---|---|
... |
... |
||
103 | i != s.end() && i + 1 != s.end(); i += 2) { |
103 | i != s.end() && i + 1 != s.end(); i += 2) { |
104 | int n; |
104 | int n; |
105 | unsigned char c = *i; |
105 | unsigned char c = *i; |
106 | unsigned char d = *(i + 1); |
106 | unsigned char d = *(i + 1); |
107 | 107 | ||
108 | char *t; |
108 | const char *t;
|
109 | if ((t = strchr(hexchars, c)) == 0) |
109 | if ((t = strchr(hexchars, c)) == 0) |
110 | return "out of range"; |
110 | return "out of range"; |
111 | n = (t - hexchars) << 4; |
111 | n = (t - hexchars) << 4; |
112 | 112 | ||
113 | 113 |