diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-12-16 21:10:51 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-12-16 21:10:51 +0000 |
commit | bbc10c2ea12b836497d3ef41fc434b50108b70f1 (patch) | |
tree | 53b685569045209495dfba7b1f81f7b69c831402 /src/or/hibernate.c | |
parent | a3922d0bdcc06a22131d26a4258590338b8cea12 (diff) | |
download | tor-bbc10c2ea12b836497d3ef41fc434b50108b70f1.tar.gz tor-bbc10c2ea12b836497d3ef41fc434b50108b70f1.zip |
Make split(..., NULL) split on horizontal space; fix bug with tabs in config file.
svn:r3155
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |