typo fixes
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 11 Mar 2008 08:58:13 +0000 (09:58 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 11 Mar 2008 08:58:13 +0000 (09:58 +0100)
apt-pkg/depcache.h
methods/http.cc

index 7adf6fe..f41ad17 100644 (file)
@@ -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();
 
index d4e231f..26d435d 100644 (file)
@@ -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;