From 830b900e1f2473904f15eb29475a1f857a017ba1 Mon Sep 17 00:00:00 2001 From: Chris Lundquist Date: Tue, 24 Jan 2012 11:57:06 -0800 Subject: [PATCH] remove more commented out code --- src/write_mongodb.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/write_mongodb.c b/src/write_mongodb.c index f13cdc33..23cca685 100644 --- a/src/write_mongodb.c +++ b/src/write_mongodb.c @@ -95,13 +95,6 @@ static int wm_write (const data_set_t *ds, /* {{{ */ if (node->connected == 0) { -/* - sstrncpy(node->opts->host, node->host, - sizeof (node->opts->host)); - node->opts->port = node->port; -*/ - - /* status = mongo_connect(node->conn,node->opts->host, node->opts->port);*/ status = mongo_connect(node->conn, node->host, node->port); if (status != MONGO_OK) { ERROR ("write_mongodb plugin: Connecting to host \"%s\" (port %i) failed.", -- 2.30.2