diff options
author | Lars Rasmusson <Lars.Rasmusson@sics.se> | 2012-01-14 12:14:36 +0100 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-01-23 22:38:30 -0500 |
commit | b0870346f268d4c7f2d461c921ff63b6d967242d (patch) | |
tree | 4bcc1a1a21ad47e77cc3014e12dd5569d7c6324b /src | |
parent | c144672045e69d82e4e48479f2f1ed9956186bfb (diff) | |
download | bitcoin-b0870346f268d4c7f2d461c921ff63b6d967242d.tar.xz |
Replace tabs with four spaces to comply with coding standard in doc/coding.txt
Diffstat (limited to 'src')
-rw-r--r-- | src/net.cpp | 4 | ||||
-rw-r--r-- | src/qt/transactionfilterproxy.h | 2 | ||||
-rw-r--r-- | src/util.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/net.cpp b/src/net.cpp index 18bafd02e7..d99c73f959 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1158,11 +1158,11 @@ void ThreadMapPort2(void* parg) #ifndef UPNPDISCOVER_SUCCESS /* miniupnpc 1.5 */ r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, - port, port, lanaddr, strDesc.c_str(), "TCP", 0); + port, port, lanaddr, strDesc.c_str(), "TCP", 0); #else /* miniupnpc 1.6 */ r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, - port, port, lanaddr, strDesc.c_str(), "TCP", 0, "0"); + port, port, lanaddr, strDesc.c_str(), "TCP", 0, "0"); #endif if(r!=UPNPCOMMAND_SUCCESS) diff --git a/src/qt/transactionfilterproxy.h b/src/qt/transactionfilterproxy.h index 4dd2a8e5c6..17c1b482e0 100644 --- a/src/qt/transactionfilterproxy.h +++ b/src/qt/transactionfilterproxy.h @@ -29,7 +29,7 @@ public: // Set maximum number of rows returned, -1 if unlimited void setLimit(int limit); - int rowCount(const QModelIndex &parent = QModelIndex()) const; + int rowCount(const QModelIndex &parent = QModelIndex()) const; protected: bool filterAcceptsRow(int source_row, const QModelIndex & source_parent) const; diff --git a/src/util.h b/src/util.h index 78caff683d..c57e82bab0 100644 --- a/src/util.h +++ b/src/util.h @@ -749,8 +749,8 @@ inline bool AffinityBugWorkaround(void(*pfn)(void*)) inline uint32_t ByteReverse(uint32_t value) { - value = ((value & 0xFF00FF00) >> 8) | ((value & 0x00FF00FF) << 8); - return (value<<16) | (value>>16); + value = ((value & 0xFF00FF00) >> 8) | ((value & 0x00FF00FF) << 8); + return (value<<16) | (value>>16); } #endif |