summaryrefslogtreecommitdiff
path: root/src/mongo/util/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/net')
-rw-r--r--src/mongo/util/net/message.h2
-rw-r--r--src/mongo/util/net/message_port.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/net/message.h b/src/mongo/util/net/message.h
index e78ff388753..e3fe62bd404 100644
--- a/src/mongo/util/net/message.h
+++ b/src/mongo/util/net/message.h
@@ -91,7 +91,7 @@ namespace mongo {
int messageLength; // total message size, including this
int requestID; // identifier for this message
int responseTo; // requestID from the original request
- // (used in reponses from db)
+ // (used in responses from db)
int opCode;
};
#pragma pack()
diff --git a/src/mongo/util/net/message_port.h b/src/mongo/util/net/message_port.h
index cd89745be9b..0f0c43aa747 100644
--- a/src/mongo/util/net/message_port.h
+++ b/src/mongo/util/net/message_port.h
@@ -84,7 +84,7 @@ namespace mongo {
* say( to )
* recv( from )
* Note: if you fail to call recv and someone else uses this port,
- * horrible things will happend
+ * horrible things will happen
*/
bool recv( const Message& sent , Message& response );