Changeset 3965ec3d
- Timestamp:
- Mar 11, 2012, 11:44:39 PM (12 years ago)
- Branches:
- release-1.8
- Children:
- 18250fa
- Parents:
- 91882d6
- git-author:
- Anders Kaseorg <andersk@mit.edu> (10/23/11 00:23:00)
- git-committer:
- David Benjamin <davidben@mit.edu> (03/11/12 23:44:39)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
message.c
r34132f7 r3965ec3d 832 832 833 833 834 /* set the "isprivate" attribute if it's a private zephyr. 835 ``private'' means recipient is non-empty and doesn't start wit 836 `@' */ 837 if (*n->z_recipient && *n->z_recipient != '@') { 834 /* set the "isprivate" attribute if it's a private zephyr. */ 835 if (owl_zwrite_recip_is_personal(n->z_recipient)) { 838 836 owl_message_set_isprivate(m); 839 837 } -
zephyr.c
r91882d6 r3965ec3d 802 802 } else if (!strcmp(retnotice->z_message, ZSRVACK_NOTSENT)) { 803 803 if (retnotice->z_recipient == NULL 804 || *retnotice->z_recipient == 0 805 || *retnotice->z_recipient == '@') { 804 || !owl_zwrite_recip_is_personal(retnotice->z_recipient)) { 806 805 char *buff; 807 806 owl_function_error("No one subscribed to class %s", retnotice->z_class); -
zwrite.c
r3cdd6d2 r3965ec3d 327 327 } 328 328 329 bool owl_zwrite_recip_is_personal(const char *recipient) 330 { 331 return recipient[0] && recipient[0] != '@'; 332 } 333 329 334 int owl_zwrite_is_personal(const owl_zwrite *z) 330 335 {
Note: See TracChangeset
for help on using the changeset viewer.