if (debug)
i_debug("CONNECTED");
- (void)o_stream_send_str(conn->conn.output,
+ o_stream_nsend_str(conn->conn.output,
"EHLO frop\r\n");
}
if (debug)
i_debug("CONNECTED");
- (void)o_stream_send_str(conn->conn.output,
+ o_stream_nsend_str(conn->conn.output,
"EHLO frop\r\n");
}
static void
test_hanging_command_payload_connected(struct client_connection *conn)
{
- (void)o_stream_send_str(conn->conn.output,
+ o_stream_nsend_str(conn->conn.output,
"EHLO frop\r\n"
"MAIL FROM:<hangman@example.com>\r\n"
"RCPT TO:<jerry@example.com>\r\n"
static void
test_bad_command_connected(struct client_connection *conn)
{
- (void)o_stream_send_str(conn->conn.output,
+ o_stream_nsend_str(conn->conn.output,
"EHLO\tfrop\r\n");
}
static void
test_long_command_connected(struct client_connection *conn)
{
- (void)o_stream_send_str(conn->conn.output,
+ o_stream_nsend_str(conn->conn.output,
"EHLO some.very.very.very.very.very.long.domain\r\n");
}
static void
test_big_data_connected(struct client_connection *conn)
{
- (void)o_stream_send_str(conn->conn.output,
+ o_stream_nsend_str(conn->conn.output,
"EHLO frop\r\n"
"MAIL FROM:<sender@example.com>\r\n"
"RCPT TO:<recipient@example.com>\r\n"
static void
test_bad_ehlo_connected(struct client_connection *conn)
{
- (void)o_stream_send_str(conn->conn.output,
+ o_stream_nsend_str(conn->conn.output,
"EHLO \r\n");
}
static void
test_too_many_recipients_connected(struct client_connection *conn)
{
- (void)o_stream_send_str(conn->conn.output,
+ o_stream_nsend_str(conn->conn.output,
"EHLO frop\r\n"
"MAIL FROM:<sender@example.com>\r\n"
"RCPT TO:<recipient1@example.com>\r\n"
static void
test_data_no_mail_connected(struct client_connection *conn)
{
- (void)o_stream_send_str(conn->conn.output,
+ o_stream_nsend_str(conn->conn.output,
"EHLO frop\r\n"
"DATA\r\n"
".\r\n"
static void
test_data_no_rcpt_connected(struct client_connection *conn)
{
- (void)o_stream_send_str(conn->conn.output,
+ o_stream_nsend_str(conn->conn.output,
"EHLO frop\r\n"
"MAIL FROM:<sender@example.com>\r\n"
"DATA\r\n"
static void
test_data_binarymime_connected(struct client_connection *conn)
{
- (void)o_stream_send_str(conn->conn.output,
+ o_stream_nsend_str(conn->conn.output,
"EHLO frop\r\n"
"MAIL FROM:<sender@example.com> BODY=BINARYMIME\r\n"
"RCPT TO:<recipient1@example.com>\r\n"