Changeset 3965ec3d for zephyr.c


Ignore:
Timestamp:
Mar 11, 2012, 11:44:39 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
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)
Message:
Add function to test whether a recipient is personal

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: David Benjamin <davidben@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    r91882d6 r3965ec3d  
    802802  } else if (!strcmp(retnotice->z_message, ZSRVACK_NOTSENT)) {
    803803    if (retnotice->z_recipient == NULL
    804         || *retnotice->z_recipient == 0
    805         || *retnotice->z_recipient == '@') {
     804        || !owl_zwrite_recip_is_personal(retnotice->z_recipient)) {
    806805      char *buff;
    807806      owl_function_error("No one subscribed to class %s", retnotice->z_class);
Note: See TracChangeset for help on using the changeset viewer.