summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-09 13:02:17 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-09 13:02:17 +0100
commitf2d31917dab4616d47e8c25771f780f272dee07d (patch)
tree6fba781d2f01fec1ff96f15a7ae3cf2e2d1f2e9f /plugins
parent3866bd51bf7e622594ff4831664c28d80f711cb3 (diff)
parentc1760db6bbd07086177679b2be4b2d307657ddce (diff)
downloadrsyslog-f2d31917dab4616d47e8c25771f780f272dee07d.tar.gz
rsyslog-f2d31917dab4616d47e8c25771f780f272dee07d.tar.xz
rsyslog-f2d31917dab4616d47e8c25771f780f272dee07d.zip
Merge branch 'v4-stable' into tmp
Diffstat (limited to 'plugins')
-rw-r--r--plugins/omlibdbi/omlibdbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omlibdbi/omlibdbi.c b/plugins/omlibdbi/omlibdbi.c
index 6f130f54..67b1edf9 100644
--- a/plugins/omlibdbi/omlibdbi.c
+++ b/plugins/omlibdbi/omlibdbi.c
@@ -287,7 +287,7 @@ CODE_STD_STRING_REQUESTparseSelectorAct(1)
if(dbName != NULL)
if((pData->dbName = (uchar*) strdup((char*)dbName)) == NULL) ABORT_FINALIZE(RS_RET_OUT_OF_MEMORY);
if(pwd != NULL)
- if((pData->pwd = (uchar*) strdup((char*)"")) == NULL) ABORT_FINALIZE(RS_RET_OUT_OF_MEMORY);
+ if((pData->pwd = (uchar*) strdup((char*)pwd)) == NULL) ABORT_FINALIZE(RS_RET_OUT_OF_MEMORY);
CHKiRet(cflineParseTemplateName(&p, *ppOMSR, 0, OMSR_RQD_TPL_OPT_SQL, (uchar*) " StdDBFmt"));