Browse Source

less confusing error message on invalid mailbox.

wip/ssl-fprint
Oswald Buddenhagen 19 years ago
parent
commit
8db5ec1e5e
  1. 2
      src/drv_maildir.c

2
src/drv_maildir.c

@ -244,7 +244,7 @@ maildir_validate( const char *prefix, const char *box, int create )
for (i = 0; i < 3; i++) {
memcpy( buf + bl, subdirs[i], 4 );
if (stat( buf, &st ) || !S_ISDIR(st.st_mode)) {
fprintf( stderr, "Maildir error: '%s' is no valid mailbox\n", buf );
fprintf( stderr, "Maildir error: '%.*s' is no valid mailbox\n", bl, buf );
return DRV_BOX_BAD;
}
}

Loading…
Cancel
Save