dovecot: Compile fix.

dovecot at dovecot.org dovecot at dovecot.org
Fri Jul 13 02:52:13 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/d585d0c65834
changeset: 5981:d585d0c65834
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jul 13 02:52:09 2007 +0300
description:
Compile fix.

diffstat:

1 file changed, 6 insertions(+), 4 deletions(-)
src/lib/ioloop-notify-none.c |   10 ++++++----

diffs (21 lines):

diff -r 57b70f64f997 -r d585d0c65834 src/lib/ioloop-notify-none.c
--- a/src/lib/ioloop-notify-none.c	Fri Jul 13 02:40:47 2007 +0300
+++ b/src/lib/ioloop-notify-none.c	Fri Jul 13 02:52:09 2007 +0300
@@ -6,11 +6,13 @@
 #ifdef IOLOOP_NOTIFY_NONE
 
 #undef io_add_notify
-struct io *io_add_notify(const char *path __attr_unused__,
-			 io_callback_t *callback __attr_unused__,
-			 void *context __attr_unused__)
+enum io_notify_result
+io_add_notify(const char *path __attr_unused__,
+	      io_callback_t *callback __attr_unused__,
+	      void *context __attr_unused__, struct io **io_r)
 {
-	return NULL;
+	*io_r = NULL;
+	return IO_NOTIFY_DISABLED;
 }
 
 void io_loop_notify_remove(struct ioloop *ioloop __attr_unused__,


More information about the dovecot-cvs mailing list