** then really invoked the mhlproc instead
** (which is usually mhl anyway).
*/
- if (!strcmp(mhbasename(lproc), "mhl"))
+ if (strcmp(mhbasename(lproc), "mhl")==0)
lproc = mhlproc;
- switch (pid = vfork()) {
+ switch (pid = fork()) {
case -1:
/* fork error */
advise("fork", "unable to");
}
}
if (isdraft) {
- if (!strcmp(vec[0], "show"))
+ if (strcmp(vec[0], "show")==0)
vec[vecp++] = "-file";
vec[vecp++] = file;
}