Changeset 9381782 for zephyr.c


Ignore:
Timestamp:
Jun 22, 2003, 1:33:09 AM (18 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
b2a91b6
Parents:
0c502e9
Message:
$owl::auth now works
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    rbe0a79f r9381782  
    700700  owl_free(filename);
    701701}
     702
     703/* return auth string */
     704char *owl_zephyr_get_authstr(ZNotice_t *n)
     705{
     706
     707  if (!n) return("UNKNOWN");
     708
     709  if (n->z_auth == ZAUTH_FAILED) {
     710    return ("FAILED");
     711  } else if (n->z_auth == ZAUTH_NO) {
     712    return ("NO");
     713  } else if (n->z_auth == ZAUTH_YES) {
     714    return ("YES");
     715  } else {
     716    return ("UNKNOWN");
     717  }           
     718}
     719
     720
Note: See TracChangeset for help on using the changeset viewer.