X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fwhatnow.c;h=168384f7479dba98d19edcc87b79e8fb230302fb;hp=bd1a3d5501500b92b7f9261bb8f853fbd24de470;hb=8cc6b9bed04847a5675f5eec39938b4e242b0b2d;hpb=f85f4b7ae62e3d05a945dcd46ead51f0a2a89a9b diff --git a/uip/whatnow.c b/uip/whatnow.c index bd1a3d5..168384f 100644 --- a/uip/whatnow.c +++ b/uip/whatnow.c @@ -220,7 +220,7 @@ main(int argc, char **argv) /* display the msg being replied to or distributed */ if (msgnam) { snprintf(buf, sizeof buf, "%s '%s'", - lproc, msgnam); + listproc, msgnam); system(buf); } else { advise(NULL, "no alternate message to display"); @@ -238,7 +238,7 @@ main(int argc, char **argv) case LISTSW: /* display the draft file */ - snprintf(buf, sizeof buf, "%s '%s'", lproc, drft); + snprintf(buf, sizeof buf, "%s '%s'", listproc, drft); system(buf); break; @@ -790,9 +790,9 @@ sendfile(char **arg, char *file, int pushsw) vec[vecp++] = file; vec[vecp] = NULL; - execvp(sendproc, vec); + execvp("send", vec); fprintf(stderr, "unable to exec "); - perror(sendproc); + perror("send"); _exit(-1); default: