[450] in BarnOwl Developers

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

[D-O-H] r579 - in trunk: . owl

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

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
Date: Tue, 30 Jan 2007 17:25:12 -0500
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-To: dirty-owl-hackers@MIT.EDU

Author: nelhage
Date: 2007-01-30 17:25:12 -0500 (Tue, 30 Jan 2007)
New Revision: 579

Modified:
   trunk/
   trunk/owl/message.c
Log:
 r18295@phanatique:  nelhage | 2007-01-30 17:24:05 -0500
 AIM messages now have type ``AIM''



Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - bb873fd7-8e23-0410-944a-99ec44c633eb:/branches/owl/filter-rewrite:15925
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h/trunk:18294
   + bb873fd7-8e23-0410-944a-99ec44c633eb:/branches/owl/filter-rewrite:15925
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h/trunk:18295

Modified: trunk/owl/message.c
===================================================================
--- trunk/owl/message.c	2007-01-30 22:25:06 UTC (rev 578)
+++ trunk/owl/message.c	2007-01-30 22:25:12 UTC (rev 579)
@@ -337,7 +337,7 @@
 
 void owl_message_set_type_aim(owl_message *m)
 {
-  owl_message_set_attribute(m, "type", "aim");
+  owl_message_set_attribute(m, "type", "AIM");
 }
 
 void owl_message_set_type(owl_message *m, char* type)
@@ -348,7 +348,7 @@
 int owl_message_is_type(owl_message *m, char *type) {
   char * t = owl_message_get_attribute_value(m, "type");
   if(!t) return 0;
-  return !strcmp(t, type);
+  return !strcasecmp(t, type);
 }
 						
 int owl_message_is_type_admin(owl_message *m)


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