Changeset 56330ff for functions.c
- Timestamp:
- Aug 25, 2002, 3:02:14 PM (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:
- c01e477
- Parents:
- 4b464a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r4b464a4 r56330ff 80 80 } 81 81 82 void owl_function_make_outgoing_zephyr(char *header, char *body, char *zwriteline ) {82 void owl_function_make_outgoing_zephyr(char *header, char *body, char *zwriteline, char *zsig) { 83 83 owl_message *m; 84 84 int followlast; … … 94 94 * Right now this only works for one recipient */ 95 95 tobuff=owl_malloc(strlen(owl_zwrite_get_recip_n(&z, 0))+100); 96 sprintf(tobuff, "Zephyr sent to %s ", owl_zwrite_get_recip_n(&z, 0));96 sprintf(tobuff, "Zephyr sent to %s (Zsig: %s)", owl_zwrite_get_recip_n(&z, 0), zsig); 97 97 98 98 /* create the message */ … … 129 129 owl_global_set_needrefresh(&g); 130 130 owl_free(tobuff); 131 owl_zwrite_free(&z); 131 132 } 132 133 … … 153 154 /* create and setup the editwin */ 154 155 e=owl_global_get_typwin(&g); 155 owl_editwin_new_style(e, OWL_EDITWIN_STYLE_MULTILINE, 156 owl_global_get_msg_history(&g)); 156 owl_editwin_new_style(e, OWL_EDITWIN_STYLE_MULTILINE, owl_global_get_msg_history(&g)); 157 157 158 158 if (!owl_global_get_lockout_ctrld(&g)) { … … 183 183 owl_function_makemsg("Waiting for ack..."); 184 184 185 /* display the message as an adminmessage in the receive window */185 /* display the message as an outgoing message in the receive window */ 186 186 if (owl_global_is_displayoutgoing(&g) && owl_zwrite_is_personal(&z)) { 187 187 owl_zwrite_get_recipstr(&z, buff); 188 188 tmpbuff = owl_sprintf("Message sent to %s", buff); 189 owl_function_make_outgoing_zephyr(tmpbuff, owl_editwin_get_text(owl_global_get_typwin(&g)), line );189 owl_function_make_outgoing_zephyr(tmpbuff, owl_editwin_get_text(owl_global_get_typwin(&g)), line, owl_zwrite_get_zsig(&z)); 190 190 owl_free(tmpbuff); 191 191 }
Note: See TracChangeset
for help on using the changeset viewer.