/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "ostream.h"
#include "str.h"
#include "strescape.h"
#include "master-service.h"
#include "log-error-buffer.h"
#include "doveadm-connection.h"
#include <unistd.h>
struct doveadm_connection {
int fd;
};
{
int ret = 0;
str_truncate(str, 0);
ret = -1;
break;
}
}
return ret;
}
{
int ret;
/* error / finished */
}
return 1;
}
{
if (doveadm_connection_send_errors(conn) < 0)
else {
}
}
{
i_error("close(doveadm connection) failed: %m");
}