projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove yet anoter round of str_* functions, replaced with their inlineable
[apps/madmutt.git]
/
imap
/
utf7.c
diff --git
a/imap/utf7.c
b/imap/utf7.c
index
f4a84a1
..
76ea696
100644
(file)
--- a/
imap/utf7.c
+++ b/
imap/utf7.c
@@
-232,7
+232,7
@@
bail:
void imap_utf7_encode (char **s)
{
if (Charset) {
void imap_utf7_encode (char **s)
{
if (Charset) {
- char *t =
str_dup
(*s);
+ char *t =
m_strdup
(*s);
if (!mutt_convert_string (&t, Charset, "UTF-8", 0)) {
char *u7 = utf8_to_utf7 (t, strlen (t), NULL, 0);
if (!mutt_convert_string (&t, Charset, "UTF-8", 0)) {
char *u7 = utf8_to_utf7 (t, strlen (t), NULL, 0);
@@
-246,7
+246,7
@@
void imap_utf7_encode (char **s)
void imap_utf7_decode (char **s)
{
if (Charset) {
void imap_utf7_decode (char **s)
{
if (Charset) {
- char *t = utf7_to_utf8 (*s,
str_len
(*s), 0, 0);
+ char *t = utf7_to_utf8 (*s,
m_strlen
(*s), 0, 0);
if (t && !mutt_convert_string (&t, "UTF-8", Charset, 0)) {
p_delete(s);
if (t && !mutt_convert_string (&t, "UTF-8", Charset, 0)) {
p_delete(s);