Changeset 07bfbc2 for message.c


Ignore:
Timestamp:
Feb 19, 2008, 6:13:25 PM (13 years ago)
Author:
Alejandro R. Sedeño <asedeno@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:
c020e73
Parents:
b70d24f (diff), 4cc0ee0b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:
Merged revisions 955-957 via svnmerge from 
file:///afs/sipb.mit.edu/project/barnowl/src/svn/trunk

........
  r956 | geofft | 2008-02-19 04:55:35 -0500 (Tue, 19 Feb 2008) | 4 lines
  
  Fix a bug where an explicit (local) realm foiled
  owl_message_get_cc_without_recipient(). (per quentin)
........
  r957 | asedeno | 2008-02-19 18:10:18 -0500 (Tue, 19 Feb 2008) | 4 lines
  
  owl.c:
  * Input processing - deal with all remaining input before moving on.
  * Change how we get stdin's fileno -- actually grab it from the stdin handle.
........
File:
1 edited

Legend:

Unmodified
Added
Removed
  • message.c

    ra827529 r07bfbc2  
    662662char *owl_message_get_cc_without_recipient(owl_message *m)
    663663{
    664   char *cc, *out, *end, *user, *recip;
     664  char *cc, *out, *end, *user, *shortuser, *recip;
    665665
    666666  cc = owl_message_get_cc(m);
     
    674674  user = strtok(cc, " ");
    675675  while (user != NULL) {
    676     if (strcasecmp(user, recip) != 0) {
     676    shortuser = short_zuser(user);
     677    if (strcasecmp(shortuser, recip) != 0) {
    677678      strcpy(end, user);
    678679      end[strlen(user)] = ' ';
    679680      end += strlen(user) + 1;
    680681    }
     682    free(shortuser);
    681683    user = strtok(NULL, " ");
    682684  }
Note: See TracChangeset for help on using the changeset viewer.