Hence, removed the obscure ``free(path("./", TFOLDER));'' calls.
Still I don't see the sense in these lines, but they won't get executed,
as the condition is checked before (and the program aborts then).
Probably that's obsolete stuff that remained through several reworks.
datesw = 0;
#endif /* UCI */
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (!msgs.size)
app_msgarg(&msgs, "cur");
if (!folder)
}
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (!msgp)
msgs[msgp++] = "cur";
if (!folder)
cwd = getcpy(pwd());
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
if (form && (folder || msg))
adios(NULL, "can't mix forms and folders/msgs");
cwd = getcpy(pwd());
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (file && (msg || folder))
adios(NULL, "can't mix files and folders/msgs");
}
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
/* get current folder */
strncpy(curfolder, getfolder(FCUR), sizeof(curfolder));
}
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
nmhdir = concat(m_maildir(""), "/", NULL);
/*
cwd = getcpy(pwd());
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (file && (msgp || folder))
adios(NULL, "can't mix files and folders/msgs");
newmail = cp;
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (!folder)
folder = getfolder(FDEF);
maildir = m_maildir(folder);
listsw++;
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (!msgs.size)
app_msgarg(&msgs, listsw ? "all" :"cur");
if (!folder)
else
tmp = add(m_maildir(invo_name), NULL);
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
/* Check if we have a file to process */
if (!compfile)
adios(NULL, "need to specify a %s composition file",
else
tmp = add(m_maildir(invo_name), NULL);
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
if (file && msgs.size)
adios(NULL, "cannot specify msg and file at same time!");
app_msgarg(&msgs, cp);
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
if (!folder)
folder = getfolder(FCUR);
maildir = m_maildir(folder);
else
tmp = add(m_maildir(invo_name), NULL);
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
if (file && msgs.size)
adios(NULL, "cannot specify msg and file at same time!");
else
tmp = add(m_maildir(invo_name), NULL);
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
if (file && msgs.size)
adios(NULL, "cannot specify msg and file at same time!");
else
tmp = add(m_maildir(invo_name), NULL);
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
if (file && msgs.size)
adios(NULL, "cannot specify msg and file at same time!");
free(cp);
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
/* default is to pack whole folder */
if (!msgs.size)
app_msgarg(&msgs, "all");
}
vec[vecp] = NULL;
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
/*
** If we didn't specify which messages to search,
** then search the whole folder.
seqs[seqp] = NULL; /* NULL terminate list of sequences */
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
/* if no folder is given, use default folder */
if (!folder)
folder = getfolder(FDEF);
app_msgarg(&msgs, cp);
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (foldp == 0)
adios(NULL, "no folder specified");
cwd = getcpy(pwd());
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (file && (msg || folder))
adios(NULL, "can't mix files and folders/msgs");
}
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (!folder) {
folder = getfolder(FCUR);
defolder++;
app_msgarg(&msgs, cp);
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (!msgs.size)
app_msgarg(&msgs, "cur");
if (!folder)
app_msgarg(&msgs, cp);
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
/*
** Get new format string. Must be before chdir().
*/
}
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
if (!msgp)
msgs[msgp++] = "cur";
maildir = m_maildir(draftfolder);
}
procp = vecp;
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
if (file) {
if (msgp)
adios(NULL, "only one file at a time!");
app_msgarg(&msgs, cp);
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (!msgs.size)
app_msgarg(&msgs, "all");
if (!datesw)