more work in the lib-mime. begin to "rewr^H^Had" the code in rfc2231.c
[apps/madmutt.git] / lib-lib / str.h
index 88af4d7..e1b3511 100644 (file)
@@ -44,8 +44,7 @@ extern char const __m_b64chars[64];
 /****************************************************************************/
 
 static inline int hexval(int c) {
 /****************************************************************************/
 
 static inline int hexval(int c) {
-    int v = __m_strdigits[c];
-    return !(c & ~127) && v < 16 ? v : -1;
+    return !(c & ~127) && __m_strdigits[c] < 16 ? __m_strdigits[c] : -1;
 }
 
 static inline int base64val(int c) {
 }
 
 static inline int base64val(int c) {