Commit c31a139d c31a139d853b8751dbfa6e3ca398792b86db2d0c by Sergey Poznyakoff

(imap4d_select0): Fix status display.

1 parent b6494c3a
...@@ -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 }
......