aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorjloughry <joe.loughry@gmail.com>2016-02-12 11:35:32 -0700
committerjloughry <joe.loughry@gmail.com>2016-02-12 12:51:54 -0700
commit37767fd46f673a06864df6e14d3030622b1cb2c9 (patch)
tree0d7af548f6da69f26498aeb00a9bfdeeb887a6b6 /src/net.cpp
parent80d1f2e48364f05b2cdf44239b3a1faa0277e58e (diff)
fix spelling of advertise in src and doc
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp
index d9c4c11737..e06e5255d6 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -205,7 +205,7 @@ bool IsPeerAddrLocalGood(CNode *pnode)
}
// pushes our own address to a peer
-void AdvertizeLocal(CNode *pnode)
+void AdvertiseLocal(CNode *pnode)
{
if (fListen && pnode->fSuccessfullyConnected)
{
@@ -220,7 +220,7 @@ void AdvertizeLocal(CNode *pnode)
}
if (addrLocal.IsRoutable())
{
- LogPrintf("AdvertizeLocal: advertizing address %s\n", addrLocal.ToString());
+ LogPrintf("AdvertiseLocal: advertising address %s\n", addrLocal.ToString());
pnode->PushAddress(addrLocal);
}
}