bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
43d32cbe60fdaef2699d99f1ca259053e9350411Timo Sirainenstatic void notify_ok(struct mailbox *mailbox ATTR_UNUSED,
2767104d81e97a109f0aa9758792bfa1da325a97Timo Sirainen if (o_stream_get_buffer_used_size(client->output) != 0)
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen str = t_strconcat("* OK ", text, "\r\n", NULL);
43d32cbe60fdaef2699d99f1ca259053e9350411Timo Sirainenstatic void notify_no(struct mailbox *mailbox ATTR_UNUSED,
2767104d81e97a109f0aa9758792bfa1da325a97Timo Sirainen if (o_stream_get_buffer_used_size(client->output) != 0)
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen str = t_strconcat("* NO ", text, "\r\n", NULL);