summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-03-11 09:58:13 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2008-03-11 09:58:13 +0100
commit38965a34274c10d6eb9f0837a9ba4a8b04d24639 (patch)
tree79af19ee7ec1f9623ba928eac5028d8464ada639
parent0748d509f684e192e295302e77263719323f0d1a (diff)
typo fixes
-rw-r--r--apt-pkg/depcache.h4
-rw-r--r--methods/http.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h
index 7adf6fe7f..f41ad17e9 100644
--- a/apt-pkg/depcache.h
+++ b/apt-pkg/depcache.h
@@ -92,7 +92,7 @@ class pkgDepCache : protected pkgCache::Namespace
* \param rootFunc A callback that can be used to add extra
* packages to the root set.
*
- * \return \b false if an error occured.
+ * \return \b false if an error occurred.
*/
bool MarkRequired(InRootSetFunc &rootFunc);
@@ -103,7 +103,7 @@ class pkgDepCache : protected pkgCache::Namespace
* are tested to see whether they are actually garbage. If so,
* they are marked as such.
*
- * \return \b false if an error occured.
+ * \return \b false if an error occurred.
*/
bool Sweep();
diff --git a/methods/http.cc b/methods/http.cc
index d4e231fbe..26d435dea 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -368,8 +368,8 @@ bool ServerState::Close()
/*}}}*/
// ServerState::RunHeaders - Get the headers before the data /*{{{*/
// ---------------------------------------------------------------------
-/* Returns 0 if things are OK, 1 if an IO error occursed and 2 if a header
- parse error occured */
+/* Returns 0 if things are OK, 1 if an IO error occurred and 2 if a header
+ parse error occurred */
int ServerState::RunHeaders()
{
State = Header;