damn, cflags were silent, fixing many bugs they now show.
[apps/madmutt.git] / charset.cpkg
index 1ac8cea..2c8f507 100644 (file)
@@ -96,11 +96,13 @@ static rx_t *iconv_hooks   = NULL;
     void charset_hook(rx_t local, const string_t alias) {
         rx_set_template(local, alias);
         rx_list_append(&charset_hooks, local);
+        RETURN();
     };
 
     void iconv_hook(rx_t local, const string_t alias) {
         rx_set_template(local, alias);
         rx_list_append(&iconv_hooks, local);
+        RETURN();
     };
 };
 
@@ -397,7 +399,7 @@ int mutt_convert_nonmime_string(char **ps)
             return 0;
 
         while (*p == ':')
-            *p++;
+            p++;
 
         q = m_strchrnul(p, ':');
         m_strncpy(fromcode, sizeof(fromcode), p, q - p);