From 0e5be63bcabd39dae1c722e7a9678c60d35b30c5 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Wed, 18 Aug 2010 10:18:35 +1000 Subject: [PATCH] update the example for the new signature of ctdb_set_message_handler_send() (This used to be ctdb commit 6aabe52d5ba629291aa630bc96a2b74dcecc5209) --- ctdb/libctdb/tst.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ctdb/libctdb/tst.c b/ctdb/libctdb/tst.c index 9f67b629211..8bf5e63fae0 100644 --- a/ctdb/libctdb/tst.c +++ b/ctdb/libctdb/tst.c @@ -147,7 +147,8 @@ int main(int argc, char *argv[]) pfd.fd = ctdb_get_fd(ctdb_connection); - handle = ctdb_set_message_handler_send(ctdb_connection, 55, msg_h, + handle = ctdb_set_message_handler_send(ctdb_connection, 55, + msg_h, NULL, message_handler_cb, NULL); if (handle == NULL) { printf("Failed to register message port\n");