From 0b501e823f07b14e4819b817f40cc30da09be1e1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 4 Apr 2012 11:56:06 +0200 Subject: [PATCH] s3: Make ctdbd_messaging_send_blob available in non-clustered mode This will avoid the need for some #ifdefs --- source3/lib/ctdbd_conn.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index de9920ae266..8219bd281be 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -21,10 +21,10 @@ #include "includes.h" #include "util_tdb.h" #include "serverid.h" +#include "ctdbd_conn.h" #ifdef CLUSTER_SUPPORT -#include "ctdbd_conn.h" #include "ctdb_packet.h" #include "messages.h" @@ -1797,4 +1797,13 @@ NTSTATUS ctdb_unwatch(struct ctdbd_connection *conn) return status; } +#else + +NTSTATUS ctdbd_messaging_send_blob(struct ctdbd_connection *conn, + uint32 dst_vnn, uint64 dst_srvid, + const uint8_t *buf, size_t buflen) +{ + return NT_STATUS_NOT_IMPLEMENTED; +} + #endif -- 2.11.4.GIT