Changeset 9ceee9d for commands.c
- Timestamp:
- Jul 4, 2003, 12:26:03 AM (22 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 3ba3af0
- Parents:
- 5b85d19
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r5b85d19 r9ceee9d 127 127 "Send an aim message to a user.\n"), 128 128 129 /*130 129 OWLCMD_ARGS("zcrypt", owl_command_zcrypt, OWL_CTX_INTERACTIVE, 131 130 "send an encrypted zephyr", … … 133 132 "Behaves like zwrite but uses encryption. Not for use with\n" 134 133 "personal messages\n"), 135 */136 134 137 135 OWLCMD_ARGS("reply", owl_command_reply, OWL_CTX_INTERACTIVE, … … 1660 1658 char *owl_command_zcrypt(int argc, char **argv, char *buff) 1661 1659 { 1660 #ifdef OWL_ENABLE_ZCRYPT 1662 1661 owl_zwrite z; 1663 1662 1664 /* check for a zwrite -m */ 1663 if (!owl_global_is_havezephyr(&g)) { 1664 owl_function_makemsg("Zephyr is not available"); 1665 return(NULL); 1666 } 1667 /* check for a zcrypt -m */ 1665 1668 owl_zwrite_create_from_line(&z, buff); 1666 1669 if (owl_zwrite_is_message_set(&z)) { 1667 owl_zwrite_send_message(&z); 1668 owl_function_make_outgoing_zephyr(owl_zwrite_get_message(&z), buff, owl_zwrite_get_zsig(&z)); 1670 owl_function_zcrypt(buff, NULL); 1669 1671 owl_zwrite_free(&z); 1670 1672 return (NULL); … … 1677 1679 } 1678 1680 return(NULL); 1681 #else 1682 owl_function_makemsg("This Owl does not support zcrypt"); 1683 #endif 1679 1684 } 1680 1685
Note: See TracChangeset
for help on using the changeset viewer.