summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-07-31 21:02:56 +0000
committeralberth <alberth@openttd.org>2010-07-31 21:02:56 +0000
commita825b4fa5f159604f9f61bafa21b75a22d8944f5 (patch)
tree7a9c837d047157b4e2d0d068c0c3462c7a643ef9 /src/network/core
parentadf94b85297b6a11989617eaa1081c7b1da08b62 (diff)
downloadopenttd-a825b4fa5f159604f9f61bafa21b75a22d8944f5.tar.xz
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
Diffstat (limited to 'src/network/core')
-rw-r--r--src/network/core/tcp_http.cpp4
-rw-r--r--src/network/core/tcp_http.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/network/core/tcp_http.cpp b/src/network/core/tcp_http.cpp
index a0303106b..6de5cb839 100644
--- a/src/network/core/tcp_http.cpp
+++ b/src/network/core/tcp_http.cpp
@@ -90,8 +90,8 @@ static const char * const LOCATION = "Location: "; ///< Header for l
* @return amount of data to continue downloading.
* > 0: we need to download N bytes.
* = 0: we're being redirected.
- * < 0: an error occured. Downloading failed.
- * @note if an error occured the header might not be in its
+ * < 0: an error occurred. Downloading failed.
+ * @note if an error occurred the header might not be in its
* original state. No effort is undertaken to bring
* the header in its original state.
*/
diff --git a/src/network/core/tcp_http.h b/src/network/core/tcp_http.h
index 13eeb7d54..2173ae2ea 100644
--- a/src/network/core/tcp_http.h
+++ b/src/network/core/tcp_http.h
@@ -21,7 +21,7 @@
/** Callback for when the HTTP handler has something to tell us. */
struct HTTPCallback {
/**
- * An error has occured and the connection has been closed.
+ * An error has occurred and the connection has been closed.
* @note HTTP socket handler is closed/freed.
*/
virtual void OnFailure() = 0;