X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/961d5bf9387fcaa225caa2bc72c71d8bc8d64849..8fd34425a97a7f50a8fc3514cb32d71400e2a4bb:/uip/show.c diff --git a/uip/show.c b/uip/show.c index 32917398..b7f85fe1 100644 --- a/uip/show.c +++ b/uip/show.c @@ -259,7 +259,7 @@ usage: for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++) if (is_selected(mp, msgnum)) - app_msgarg(&vec, getcpy (m_name (msgnum))); + app_msgarg(&vec, mh_xstrdup(m_name (msgnum))); seq_setcur (mp, mp->hghsel); /* update current message */ seq_save (mp); /* synchronize sequences */ @@ -447,7 +447,7 @@ invalid: if (*dp) { if ((result = !uprf (dp, "charset"))) goto out; - dp += sizeof("charset") - 1; + dp += LEN("charset"); while (isspace ((unsigned char) *dp)) dp++; if (*dp++ != '=')