1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

update the example for the new signature of

ctdb_set_message_handler_send()

(This used to be ctdb commit 6aabe52d5ba629291aa630bc96a2b74dcecc5209)
This commit is contained in:
Ronnie Sahlberg 2010-08-18 10:18:35 +10:00
parent e8ffb0d8a4
commit 0e5be63bca

View File

@ -147,7 +147,8 @@ int main(int argc, char *argv[])
pfd.fd = ctdb_get_fd(ctdb_connection); 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); message_handler_cb, NULL);
if (handle == NULL) { if (handle == NULL) {
printf("Failed to register message port\n"); printf("Failed to register message port\n");