upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index d13de61..364fbfb 100644
--- a/src/net.h
+++ b/src/net.h
@@ -392,7 +392,9 @@ public:
392 const char* GetCommand() const 392 const char* GetCommand() const
393 { 393 {
394 if (!IsKnownType()) 394 if (!IsKnownType())
395 throw std::out_of_range(strprintf("CInv::GetCommand() : type=% unknown type", type)); 395 // Was "type=% unknown type": the % swallowed the space as a flag and
396 // the u as the conversion, so this read "type= 3nknown type".
397 throw std::out_of_range(strprintf("CInv::GetCommand() : type=%d unknown type", type));
396 return ppszTypeName[type]; 398 return ppszTypeName[type];
397 } 399 }
398 400