Changeset bd482c3
- Timestamp:
- Jan 23, 2012, 6:41:30 PM (13 years ago)
- Branches:
- master, release-1.10, release-1.9
- Children:
- 39a531d, b43035e
- Parents:
- 919cbf2
- git-author:
- Anders Kaseorg <andersk@mit.edu> (10/23/11 00:16:33)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (01/23/12 18:41:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
recfbdcc rbd482c3 216 216 void owl_function_add_outgoing_zephyrs(const owl_zwrite *z) 217 217 { 218 if (z->cc || owl_zwrite_get_numrecips(z) == 0) {218 if (z->cc && owl_zwrite_is_personal(z)) { 219 219 /* create the message */ 220 220 owl_message *m = g_new(owl_message, 1); … … 225 225 int i; 226 226 for (i = 0; i < owl_zwrite_get_numrecips(z); i++) { 227 owl_message *m; 228 229 if (!owl_zwrite_recip_is_personal(owl_zwrite_get_recip_n(z, i))) 230 continue; 231 227 232 /* create the message */ 228 owl_message *m = g_new(owl_message, 1);233 m = g_new(owl_message, 1); 229 234 owl_message_create_from_zwrite(m, z, owl_zwrite_get_message(z), i); 230 235 … … 373 378 owl_function_makemsg("Waiting for ack..."); 374 379 375 /* If it's personal */ 376 if (owl_zwrite_is_personal(z)) { 377 /* create the outgoing message */ 378 owl_function_add_outgoing_zephyrs(z); 379 } 380 /* create the outgoing message */ 381 owl_function_add_outgoing_zephyrs(z); 380 382 } 381 383 #else … … 427 429 owl_function_makemsg("Waiting for ack..."); 428 430 429 /* If it's personal */ 430 if (owl_zwrite_is_personal(z)) { 431 /* Create the outgoing message. Restore the un-crypted message for display. */ 432 owl_zwrite_set_message_raw(z, old_msg); 433 owl_function_add_outgoing_zephyrs(z); 434 } 431 /* Create the outgoing message. Restore the un-crypted message for display. */ 432 owl_zwrite_set_message_raw(z, old_msg); 433 owl_function_add_outgoing_zephyrs(z); 435 434 436 435 /* Clean up. */
Note: See TracChangeset
for help on using the changeset viewer.