Changeset bff1f22
- Timestamp:
- Jan 23, 2012, 6:41:16 PM (13 years ago)
- Branches:
- master, release-1.10, release-1.9
- Children:
- d6b2ae8
- Parents:
- bf70350
- git-author:
- Anders Kaseorg <andersk@mit.edu> (10/23/11 00:23:00)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (01/23/12 18:41:16)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
message.c
r6646fdb rbff1f22 836 836 837 837 838 /* set the "isprivate" attribute if it's a private zephyr. 839 ``private'' means recipient is non-empty and doesn't start wit 840 `@' */ 841 if (*n->z_recipient && *n->z_recipient != '@') { 838 /* set the "isprivate" attribute if it's a private zephyr. */ 839 if (owl_zwrite_recip_is_personal(n->z_recipient)) { 842 840 owl_message_set_isprivate(m); 843 841 } -
zephyr.c
rbf70350 rbff1f22 789 789 } else if (!strcmp(retnotice->z_message, ZSRVACK_NOTSENT)) { 790 790 if (retnotice->z_recipient == NULL 791 || *retnotice->z_recipient == 0 792 || *retnotice->z_recipient == '@') { 791 || !owl_zwrite_recip_is_personal(retnotice->z_recipient)) { 793 792 char *buff; 794 793 owl_function_error("No one subscribed to class %s", retnotice->z_class); -
zwrite.c
ref4074b rbff1f22 338 338 } 339 339 340 bool owl_zwrite_recip_is_personal(const char *recipient) 341 { 342 return recipient[0] && recipient[0] != '@'; 343 } 344 340 345 int owl_zwrite_is_personal(const owl_zwrite *z) 341 346 {
Note: See TracChangeset
for help on using the changeset viewer.