(imap4d_select0): Fix status display.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -75,7 +75,7 @@ imap4d_select0 (struct imap4d_command *command, char *arg, int flags) | ... | @@ -75,7 +75,7 @@ imap4d_select0 (struct imap4d_command *command, char *arg, int flags) |
75 | free (mailbox_name); | 75 | free (mailbox_name); |
76 | /* Need to set the state explicitely for select. */ | 76 | /* Need to set the state explicitely for select. */ |
77 | return util_send ("%s OK [%s] %s Completed\r\n", command->tag, | 77 | return util_send ("%s OK [%s] %s Completed\r\n", command->tag, |
78 | (MU_STREAM_READ == flags) ? | 78 | (flags & MU_STREAM_READ) ? |
79 | "READ-ONLY" : "READ-WRITE", command->name); | 79 | "READ-ONLY" : "READ-WRITE", command->name); |
80 | } | 80 | } |
81 | } | 81 | } | ... | ... |
-
Please register or sign in to post a comment