summaryrefslogtreecommitdiffstats
path: root/source3/lib/ctdbd_conn.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-30 15:37:33 +0200
committerVolker Lendecke <vl@samba.org>2012-04-17 10:21:00 +0200
commita49ac23a10bfe4098cb46b39d3152571a2562a38 (patch)
tree3e6ce06c9f1837f6ade3f956f020e4f9d0734f87 /source3/lib/ctdbd_conn.c
parent6235b761f6eab3ec3d8492ba146e8d9efe6944a6 (diff)
downloadsamba-a49ac23a10bfe4098cb46b39d3152571a2562a38.tar.gz
samba-a49ac23a10bfe4098cb46b39d3152571a2562a38.tar.xz
samba-a49ac23a10bfe4098cb46b39d3152571a2562a38.zip
s3: Return CTDB_PATH from lp_ctdbd_socket()
All callers had that fallback
Diffstat (limited to 'source3/lib/ctdbd_conn.c')
-rw-r--r--source3/lib/ctdbd_conn.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index ba51137915..096616038e 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -205,10 +205,6 @@ static NTSTATUS ctdbd_connect(TALLOC_CTX *mem_ctx,
int fd;
socklen_t salen;
- if (!sockname || !*sockname) {
- sockname = CTDB_PATH;
- }
-
fd = socket(AF_UNIX, SOCK_STREAM, 0);
if (fd == -1) {
DEBUG(3, ("Could not create socket: %s\n", strerror(errno)));