summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-03-30 16:53:41 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-03-30 18:22:17 (GMT)
commit78fac0241a588668fed0c8b4cde9a874c44f2d3e (patch)
tree17b532990927d8647404e8b99d5f29f5674cdb72 /src
parent0135ec8d61ab11cce5b9d622c906a59806a7cd18 (diff)
downloadhdf5-78fac0241a588668fed0c8b4cde9a874c44f2d3e.zip
hdf5-78fac0241a588668fed0c8b4cde9a874c44f2d3e.tar.gz
hdf5-78fac0241a588668fed0c8b4cde9a874c44f2d3e.tar.bz2
Let us use space as well as comma to separate outlet=yes|no clauses in
the HLOG environment variable.
Diffstat (limited to 'src')
-rw-r--r--src/hlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hlog.c b/src/hlog.c
index e3d1ecf..04050e0 100644
--- a/src/hlog.c
+++ b/src/hlog.c
@@ -48,7 +48,7 @@ hlog_init(void)
return;
}
- while ((item = strsep(&settings, ",")) != NULL) {
+ while ((item = strsep(&settings, " ,")) != NULL) {
hlog_outlet_state_t state;
char key[64 + 1], val[4 + 1]; // + 1 for the terminating NUL
int nconverted;