summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/socket.h2
-rw-r--r--tools/source.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/socket.h b/tools/socket.h
index effdef8..293e8b2 100644
--- a/tools/socket.h
+++ b/tools/socket.h
@@ -62,7 +62,7 @@ public:
/* Accept() returns a newly created cTBSocket, which is connected to the
first connection request on the queue of pending connections of a
listening socket. If no connection request was pending, or if any other
- error occured, the resulting cTBSocket is closed. */
+ error occurred, the resulting cTBSocket is closed. */
virtual cTBSocket Accept(void) const;
/* Accept() extracts the first connection request on the queue of pending
diff --git a/tools/source.h b/tools/source.h
index 09c4bf3..b6fc36c 100644
--- a/tools/source.h
+++ b/tools/source.h
@@ -54,7 +54,7 @@ public:
/* Close() resets the source to the uninitialized state (IsOpen() == false)
and must be called by any derivations after really closing the source.
Returns true on success and false on error, setting errno appropriately.
- The object is in closed state afterwards, even if an error occured. */
+ The object is in closed state afterwards, even if an error occurred. */
virtual bool Close(void);
/* Read() reads at most Length bytes into the storage pointed to by Buffer,