Changeset a2641cd9 for message.c


Ignore:
Timestamp:
Feb 16, 2003, 2:53:42 PM (18 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
d0d65df
Parents:
7e3e00a
Message:
Fixed a case sensitivity probelm in owl_message_is_personal and
   owl_message_is_private
File:
1 edited

Legend:

Unmodified
Added
Removed
  • message.c

    r7e3e00a ra2641cd9  
    238238  if (strcasecmp(owl_message_get_class(m), "message")) return(0);
    239239  if (strcasecmp(owl_message_get_instance(m), "personal")) return(0);
    240   if (!strcmp(owl_message_get_recipient(m), ZGetSender()) ||
    241       !strcmp(owl_message_get_sender(m), ZGetSender())) {
     240  if (!strcasecmp(owl_message_get_recipient(m), ZGetSender()) ||
     241      !strcasecmp(owl_message_get_sender(m), ZGetSender())) {
    242242    return(1);
    243243  }
     
    246246
    247247int owl_message_is_private(owl_message *m) {
    248   if (!strcmp(owl_message_get_recipient(m), ZGetSender())) return(1);
     248  if (!strcasecmp(owl_message_get_recipient(m), ZGetSender())) return(1);
    249249  return(0);
    250250}
Note: See TracChangeset for help on using the changeset viewer.