summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b9cd6ea)
raw | patch | inline | side by side (parent: b9cd6ea)
author | Chris Lundquist <chris.lundquist@bluebox.net> | |
Tue, 24 Jan 2012 19:57:06 +0000 (11:57 -0800) | ||
committer | Chris Lundquist <chris.lundquist@bluebox.net> | |
Tue, 24 Jan 2012 19:57:06 +0000 (11:57 -0800) |
src/write_mongodb.c | patch | blob | history |
diff --git a/src/write_mongodb.c b/src/write_mongodb.c
index f13cdc332b5155cbb9a0893cf87345d79921cacf..23cca685acce15c7e37cf2ccdb0c2b2f5d358e88 100644 (file)
--- a/src/write_mongodb.c
+++ b/src/write_mongodb.c
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.",