diff options
| author | Philip Kaufmann <[email protected]> | 2013-04-04 11:30:55 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2013-04-06 02:29:33 +0200 |
| commit | b001c871260420c6638d20c1d5039007e235d66c (patch) | |
| tree | ee98fa7da0236fa4d60cb5615c2b30b9f7a8b078 /src/util.cpp | |
| parent | Merge pull request #2460 from Diapolo/clientmodel (diff) | |
| download | discoin-b001c871260420c6638d20c1d5039007e235d66c.tar.xz discoin-b001c871260420c6638d20c1d5039007e235d66c.zip | |
small indentation, space, formatting fixes (no code changes)
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/util.cpp b/src/util.cpp index 9f5e08a14..64f8e1298 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1072,7 +1072,7 @@ const boost::filesystem::path &GetDataDir(bool fNetSpecific) fs::create_directory(path); - cachedPath[fNetSpecific]=true; + cachedPath[fNetSpecific] = true; return path; } @@ -1336,14 +1336,14 @@ void seed_insecure_rand(bool fDeterministic) insecure_rand_Rz = insecure_rand_Rw = 11; } else { uint32_t tmp; - do{ - RAND_bytes((unsigned char*)&tmp,4); - }while(tmp==0 || tmp==0x9068ffffU); - insecure_rand_Rz=tmp; - do{ - RAND_bytes((unsigned char*)&tmp,4); - }while(tmp==0 || tmp==0x464fffffU); - insecure_rand_Rw=tmp; + do { + RAND_bytes((unsigned char*)&tmp, 4); + } while(tmp == 0 || tmp == 0x9068ffffU); + insecure_rand_Rz = tmp; + do { + RAND_bytes((unsigned char*)&tmp, 4); + } while(tmp == 0 || tmp == 0x464fffffU); + insecure_rand_Rw = tmp; } } |