summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt-pkg/depcache.h4
-rw-r--r--debian/changelog1
-rw-r--r--methods/http.cc4
3 files changed, 5 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/debian/changelog b/debian/changelog
index e531be876..6fe4e5ece 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ apt (0.7.9ubuntu13) hardy; urgency=low
- updated for hardy (LP: #195879)
* cmdline/apt-get.cc:
- fix incorrect help output for -f (LP: #57487)
+ * typo fixes (LP: #107960)
--
diff --git a/methods/http.cc b/methods/http.cc
index 6aa4261ff..61321c850 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -367,8 +367,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;