/[mailutils]/mailutils/imap4d/status.c
ViewVC logotype

Diff of /mailutils/imap4d/status.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by gray, Mon May 28 14:28:39 2001 UTC revision 1.9 by jkaivo, Thu Aug 30 00:02:06 2001 UTC
# Line 45  imap4d_status (struct imap4d_command *co Line 45  imap4d_status (struct imap4d_command *co
45    if (!name || *name == '\0' || !sp || *sp == '\0')    if (!name || *name == '\0' || !sp || *sp == '\0')
46      return util_finish (command, RESP_BAD, "Too few args");      return util_finish (command, RESP_BAD, "Too few args");
47    
48    if (strcasecmp (name, "INBOX") == 0)    if (strcasecmp (name, "INBOX") == 0 && !is_virtual)
49      {      {
50        struct passwd *pw = getpwuid (getuid());        struct passwd *pw = getpwuid (getuid());
51        mailbox_name = strdup ((pw) ? pw->pw_name : "");        mailbox_name = strdup ((pw) ? pw->pw_name : "");

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26