diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-09 13:09:14 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-09 13:09:14 +0100 |
commit | 9f7f8cc2547b759f6f0584b6fa88ff006277d445 (patch) | |
tree | cc4f97c5badff457c2375d733eae132529b3ae41 /plugins | |
parent | 533a5351365cec93f233e0e99d98cedeadc5bd69 (diff) | |
parent | dffb2bab8cb52599626b82587da09df39b16e7aa (diff) | |
download | rsyslog-9f7f8cc2547b759f6f0584b6fa88ff006277d445.tar.gz rsyslog-9f7f8cc2547b759f6f0584b6fa88ff006277d445.tar.xz rsyslog-9f7f8cc2547b759f6f0584b6fa88ff006277d445.zip |
Merge branch 'v5-stable' into v5-beta
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/omlibdbi/omlibdbi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omlibdbi/omlibdbi.c b/plugins/omlibdbi/omlibdbi.c index 4b190ce3..f49bef42 100644 --- a/plugins/omlibdbi/omlibdbi.c +++ b/plugins/omlibdbi/omlibdbi.c @@ -288,7 +288,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")); |