From bbc10c2ea12b836497d3ef41fc434b50108b70f1 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 16 Dec 2004 21:10:51 +0000 Subject: Make split(..., NULL) split on horizontal space; fix bug with tabs in config file. svn:r3155 --- src/or/hibernate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or/hibernate.c') diff --git a/src/or/hibernate.c b/src/or/hibernate.c index f075a5fd40..fdb72ee56c 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -125,7 +125,8 @@ accounting_parse_options(or_options_t *options, int validate_only) } items = smartlist_create(); - smartlist_split_string(items, v, " ", SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK,0); + smartlist_split_string(items, v, NULL, + SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK,0); if (smartlist_len(items)<2) { log_fn(LOG_WARN, "Too few arguments to AccountingStart"); goto err; -- cgit v1.2.3-54-g00ecf