Changeset d6b2ae8
- Timestamp:
- Jan 23, 2012, 6:41:18 PM (13 years ago)
- Branches:
- master, release-1.10, release-1.9
- Children:
- 9d206c6
- Parents:
- bff1f22
- git-author:
- Anders Kaseorg <andersk@mit.edu> (10/22/11 23:57:44)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (01/23/12 18:41:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zwrite.c
rbff1f22 rd6b2ae8 343 343 } 344 344 345 intowl_zwrite_is_personal(const owl_zwrite *z)345 bool owl_zwrite_is_personal(const owl_zwrite *z) 346 346 { 347 347 /* return true if at least one of the recipients is personal */ 348 348 int i; 349 char *recip; 350 351 for (i = 0; i < z->recips->len; i++) { 352 recip = z->recips->pdata[i]; 353 if (recip[0] != '@') return 1; 354 } 355 return(0); 349 350 for (i = 0; i < z->recips->len; i++) 351 if (owl_zwrite_recip_is_personal(z->recips->pdata[i])) 352 return true; 353 return false; 356 354 } 357 355
Note: See TracChangeset
for help on using the changeset viewer.