Projects STRLCPY neomutt Commits ecc8075f
🤬
  • ■ ■ ■ ■ ■ ■
    imap/util.c
    skipped 629 lines
    630 630   {
    631 631   *path++ = '+';
    632 632   /* copy remaining path, skipping delimiter */
    633  - if (hlen == 0)
    634  - hlen = -1;
    635  - memcpy(path, target_mailbox + hlen + 1, tlen - hlen - 1);
    636  - path[tlen - hlen - 1] = '\0';
     633 + if (hlen != 0)
     634 + ++hlen;
     635 + memcpy(path, target_mailbox + hlen, tlen - hlen);
     636 + path[tlen - hlen] = '\0';
    637 637   return;
    638 638   }
    639 639   
    skipped 524 lines
Please wait...
Page is in error, reload to recover