git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
4ac24cf
)
Fix #1086: add /testnet to passed datadir
author
Pieter Wuille
<pieter.wuille@gmail.com>
Fri, 13 Apr 2012 01:11:14 +0000 (
03:11
+0200)
committer
Pieter Wuille
<pieter.wuille@gmail.com>
Fri, 13 Apr 2012 01:11:14 +0000 (
03:11
+0200)
src/util.cpp
patch
|
blob
|
history
diff --git
a/src/util.cpp
b/src/util.cpp
index
91f1810
..
c446474
100644
(file)
--- a/
src/util.cpp
+++ b/
src/util.cpp
@@
-836,9
+836,9
@@
const boost::filesystem::path &GetDataDir(bool fNetSpecific)
path = mapArgs["-datadir"];
} else {
path = GetDefaultDataDir();
- if (fNetSpecific && GetBoolArg("-testnet", false))
- path /= "testnet";
}
+ if (fNetSpecific && GetBoolArg("-testnet", false))
+ path /= "testnet";
fs::create_directory(path);