[Aptitude-svn-commit] r4399 - in branches/aptitude-0.3/aptitude: . src

Daniel Burrows dburrows at costa.debian.org
Sat Oct 1 01:38:24 UTC 2005


Author: dburrows
Date: Sat Oct  1 01:38:21 2005
New Revision: 4399

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/download_list.cc
   branches/aptitude-0.3/aptitude/src/download_list.h
Log:
Fix compile problems.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Sat Oct  1 01:38:21 2005
@@ -1,5 +1,9 @@
 2005-09-30  Daniel Burrows  <dburrows at debian.org>
 
+	* src/download_list.cc, src/download_list.h:
+
+	  Fix compilation errors.
+
 	* src/download_list.cc:
 
 	  Actually use abortslot when a download is cancelled.

Modified: branches/aptitude-0.3/aptitude/src/download_list.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/download_list.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/download_list.cc	Sat Oct  1 01:38:21 2005
@@ -137,7 +137,7 @@
   cancelled=true;
 
   if(abortslot)
-    abortslot();
+    (*abortslot)();
 }
 
 void download_list::destroy()

Modified: branches/aptitude-0.3/aptitude/src/download_list.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/download_list.h	(original)
+++ branches/aptitude-0.3/aptitude/src/download_list.h	Sat Oct  1 01:38:21 2005
@@ -102,7 +102,7 @@
   void sync_top();
 
   // Cancels a download
-  void cancel() {cancelled=true;}
+  void cancel();
 
   void layout_me();
 protected:



More information about the Aptitude-svn-commit mailing list