Changeset a2641cd9


Ignore:
Timestamp:
Feb 16, 2003, 2:53:42 PM (22 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, 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
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r7e3e00a ra2641cd9  
    55        Added thew 'newlinestrip' variable, on by default, that strips
    66          leading and trailing newlines from incoming messages.
     7        Fixed a case sensitivity probelm in owl_message_is_personal and
     8           owl_message_is_private
    79
    8101.2.8
  • 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.