[870] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r859 - branches/barnowl_sqlite/owl

daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:10:36 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Sat, 12 Jan 2008 21:01:21 -0500 (EST)

Author: nelhage
Date: 2008-01-12 21:01:20 -0500 (Sat, 12 Jan 2008)
New Revision: 859

Modified:
   branches/barnowl_sqlite/owl/util.c
Log:
nuke a use of messagelist_get_by_id


Modified: branches/barnowl_sqlite/owl/util.c
===================================================================
--- branches/barnowl_sqlite/owl/util.c	2008-01-13 01:13:59 UTC (rev 858)
+++ branches/barnowl_sqlite/owl/util.c	2008-01-13 02:01:20 UTC (rev 859)
@@ -567,9 +567,8 @@
   char *text, *ptr;
   int place;
 
-  /* grab the first message and make sure its id is 0 */
   ml=owl_global_get_msglist(&g);
-  m=owl_messagelist_get_element(ml, 0);
+  m=owl_messagelist_get_by_id(ml, 0);
   if (!m) return;
   if (owl_message_get_id(m)!=0) return;
 


home help back first fref pref prev next nref lref last post