snprintf(buffer, sizeof(buffer), "%%p%s '%%F'",
progsw ? progsw : moreproc && *moreproc ?
moreproc : "more");
- cp = (ct->c_showproc = add(buffer, NULL));
+ cp = (ct->c_showproc = getcpy(buffer));
return show_content_aux(ct, serial, alternate, cp, NULL);
}
return NOTOK;
/* I'm not sure if this is necessary? */
- p->c_storage = add(file, NULL);
+ p->c_storage = getcpy(file);
if (p->c_showproc && !strcmp(p->c_showproc, "true"))
return (alternate ? DONE : OK);
/* default method for message/rfc822 */
if (ct->c_subtype == MESSAGE_RFC822) {
- cp = (ct->c_showproc = add("%pshow -file '%F'", NULL));
+ cp = (ct->c_showproc = getcpy("%pshow -file '%F'"));
return show_content_aux(ct, serial, alternate, cp, NULL);
}