- if (chdir(nmaildir) == NOTOK)
- adios(nmaildir, "unable to change directory to");
- if (!(mp = folder_read(fp->f_name)))
- adios(NULL, "unable to read folder %s", fp->f_name);
+ if (chdir(nmaildir) == NOTOK) {
+ adios(EX_OSERR, nmaildir, "unable to change directory to");
+ }
+ if (!(mp = folder_read(fp->f_name))) {
+ adios(EX_IOERR, NULL, "unable to read folder %s", fp->f_name);
+ }