30 lines
1.2 KiB
Diff
30 lines
1.2 KiB
Diff
|
From c4baf251aeee31ecc91f1c24803a9b73a7311b8c Mon Sep 17 00:00:00 2001
|
||
|
From: Marco van Wieringen <marco.van.wieringen@bareos.com>
|
||
|
Date: Tue, 3 Feb 2015 15:45:41 +0100
|
||
|
Subject: [PATCH] Use argument_value not argument in bpipe config parser.
|
||
|
|
||
|
Fixes #422: bpipe plugin: Error closing stream for pseudo file file:
|
||
|
---
|
||
|
src/plugins/filed/bpipe-fd.c | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/src/plugins/filed/bpipe-fd.c b/src/plugins/filed/bpipe-fd.c
|
||
|
index 87db794..0e9e1e0 100644
|
||
|
--- a/src/plugins/filed/bpipe-fd.c
|
||
|
+++ b/src/plugins/filed/bpipe-fd.c
|
||
|
@@ -823,12 +823,12 @@ static bRC parse_plugin_definition(bpContext *ctx, void *value)
|
||
|
/*
|
||
|
* Keep the first value, ignore any next setting.
|
||
|
*/
|
||
|
- set_string_if_null(str_destination, argument);
|
||
|
+ set_string_if_null(str_destination, argument_value);
|
||
|
} else {
|
||
|
/*
|
||
|
* Overwrite any existing value.
|
||
|
*/
|
||
|
- set_string(str_destination, argument);
|
||
|
+ set_string(str_destination, argument_value);
|
||
|
}
|
||
|
}
|
||
|
|