diff options
author | Jeff Garzik <jeff@garzik.org> | 2012-04-12 20:07:49 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-04-12 20:07:49 -0400 |
commit | 8b09cd3a4db2d712e91826d44a0e777478b450c6 (patch) | |
tree | 805a27b103f0c4a5da60ac7196bcc13a65930c42 /src/net.h | |
parent | b87c0fc4403040185b625d1b21bbff0cb7c828d7 (diff) |
Replace several network protocol version numbers with named constants
stored in version.h.
Also, a minor CAddress code reformat while we're in there, fixing
some incorrect indentation.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -163,8 +163,8 @@ public: hSocket = hSocketIn; vSend.SetType(SER_NETWORK); vRecv.SetType(SER_NETWORK); - vSend.SetVersion(209); - vRecv.SetVersion(209); + vSend.SetVersion(MIN_PROTO_VERSION); + vRecv.SetVersion(MIN_PROTO_VERSION); nLastSend = 0; nLastRecv = 0; nLastSendEmpty = GetTime(); |