snprintf (prompt, sizeof(prompt), myprompt, invo_name);
for (;;) {
if (!(argp = getans (prompt, aleqs))) {
- unlink (LINK);
+ unlink (altmsglink);
done (1);
}
switch (smatch (*argp, aleqs)) {
else
snprintf (altpath, sizeof(altpath), "%s/%s", mp->foldpath, altmsg);
if (cwd == NULL)
- strncpy (linkpath, LINK, sizeof(linkpath));
+ strncpy (linkpath, altmsglink, sizeof(linkpath));
else
- snprintf (linkpath, sizeof(linkpath), "%s/%s", cwd, LINK);
+ snprintf (linkpath, sizeof(linkpath), "%s/%s", cwd, altmsglink);
}
if (altmsg) {