diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-10-01 09:55:21 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-10-01 09:55:21 +0000 |
commit | 0ee524c391d017225049542fffe572d7de7d1512 (patch) | |
tree | a76ddd610eea2b4362d16dffc2c04b24909d9856 /plugins | |
parent | d8a1489f545179591abced679ba24831d85ca224 (diff) | |
download | rsyslog-0ee524c391d017225049542fffe572d7de7d1512.tar.gz rsyslog-0ee524c391d017225049542fffe572d7de7d1512.tar.xz rsyslog-0ee524c391d017225049542fffe572d7de7d1512.zip |
omhdfs: fixed small bug
... that I could only see on my execution environment (I right
now have two envs, a local one where I can compile, but not run
and a remote one where I can do both, but this is a bit less
convenient to use).
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/omhdfs/omhdfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/omhdfs/omhdfs.c b/plugins/omhdfs/omhdfs.c index 71080585..5d28d5dd 100644 --- a/plugins/omhdfs/omhdfs.c +++ b/plugins/omhdfs/omhdfs.c @@ -316,6 +316,7 @@ CODESTARTparseSelectorAct } CHKiRet(fileObjConstruct(&pData->pFile)); + CHKmalloc(pData->pFile->name = (uchar*)strdup((char*)fileName)); if(hdfsHost == NULL) { CHKmalloc(pData->pFile->hdfsHost = strdup("default")); } else { |