Changeset e363375 for message.c


Ignore:
Timestamp:
Jan 30, 2007, 5:25:12 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
3ec8d9a
Parents:
8fba2ee
git-author:
Nelson Elhage <nelhage@mit.edu> (01/30/07 17:24:05)
git-committer:
Nelson Elhage <nelhage@mit.edu> (01/30/07 17:25:12)
Message:
AIM messages now have type ``AIM''
File:
1 edited

Legend:

Unmodified
Added
Removed
  • message.c

    r30678ae re363375  
    338338void owl_message_set_type_aim(owl_message *m)
    339339{
    340   owl_message_set_attribute(m, "type", "aim");
     340  owl_message_set_attribute(m, "type", "AIM");
    341341}
    342342
     
    349349  char * t = owl_message_get_attribute_value(m, "type");
    350350  if(!t) return 0;
    351   return !strcmp(t, type);
     351  return !strcasecmp(t, type);
    352352}
    353353                                               
Note: See TracChangeset for help on using the changeset viewer.