remove more commented out code
authorChris Lundquist <chris.lundquist@bluebox.net>
Tue, 24 Jan 2012 19:57:06 +0000 (11:57 -0800)
committerChris Lundquist <chris.lundquist@bluebox.net>
Tue, 24 Jan 2012 19:57:06 +0000 (11:57 -0800)
src/write_mongodb.c

index f13cdc3..23cca68 100644 (file)
@@ -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.",