dovecot-2.0-pigeonhole: Compiler warning fix.
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Thu Apr 29 01:36:09 EEST 2010
details: http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/6dfc81c45f00
changeset: 1264:6dfc81c45f00
user: Stephan Bosch <stephan at rename-it.nl>
date: Thu Apr 29 00:34:31 2010 +0200
description:
Compiler warning fix.
diffstat:
src/managesieve/main.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 6885f0782b96 -r 6dfc81c45f00 src/managesieve/main.c
--- a/src/managesieve/main.c Wed Apr 28 16:31:03 2010 +0200
+++ b/src/managesieve/main.c Thu Apr 29 00:34:31 2010 +0200
@@ -227,7 +227,9 @@
const char *msg;
msg = t_strdup_printf("NO \"%s\"\r\n", errormsg);
- (void)write(client->fd, msg, strlen(msg));
+ if (write(client->fd, msg, strlen(msg)) < 0) {
+ /* ignored */
+ }
}
static void client_connected(const struct master_service_connection *conn)
More information about the dovecot-cvs
mailing list