Ticket #34245: patch-mailuser.diff

File patch-mailuser.diff, 295 bytes (added by BjarneDMat, 12 years ago)
  • src/lib-storage/mail-user.c

     
    343343{
    344344        const char *home, *path = *pathp;
    345345
    346         if (strncmp(path, "~/", 2) != 0) {
     346        if (*path != '~') {
    347347                /* no need to expand home */
    348348                return 0;
    349349        }