Changeset 1cdb459
- Timestamp:
- Mar 11, 2012, 11:44:39 PM (11 years ago)
- Branches:
- release-1.8
- Children:
- 970dafa
- Parents:
- 16ef9ae
- git-author:
- Anders Kaseorg <andersk@mit.edu> (10/23/11 00:16:33)
- git-committer:
- David Benjamin <davidben@mit.edu> (03/11/12 23:44:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
rfe569d7 r1cdb459 225 225 void owl_function_add_outgoing_zephyrs(const owl_zwrite *z) 226 226 { 227 if (z->cc || owl_zwrite_get_numrecips(z) == 0) {227 if (z->cc && owl_zwrite_is_personal(z)) { 228 228 /* create the message */ 229 229 owl_message *m = g_new(owl_message, 1); … … 234 234 int i; 235 235 for (i = 0; i < owl_zwrite_get_numrecips(z); i++) { 236 owl_message *m; 237 238 if (!owl_zwrite_recip_is_personal(owl_zwrite_get_recip_n(z, i))) 239 continue; 240 236 241 /* create the message */ 237 owl_message *m = g_new(owl_message, 1);242 m = g_new(owl_message, 1); 238 243 owl_message_create_from_zwrite(m, z, owl_zwrite_get_message(z), i); 239 244 … … 381 386 owl_function_makemsg("Waiting for ack..."); 382 387 383 /* If it's personal */ 384 if (owl_zwrite_is_personal(z)) { 385 /* create the outgoing message */ 386 owl_function_add_outgoing_zephyrs(z); 387 } 388 /* create the outgoing message */ 389 owl_function_add_outgoing_zephyrs(z); 388 390 } 389 391 #else … … 435 437 owl_function_makemsg("Waiting for ack..."); 436 438 437 /* If it's personal */ 438 if (owl_zwrite_is_personal(z)) { 439 /* Create the outgoing message. Restore the un-crypted message for display. */ 440 owl_zwrite_set_message_raw(z, old_msg); 441 owl_function_add_outgoing_zephyrs(z); 442 } 439 /* Create the outgoing message. Restore the un-crypted message for display. */ 440 owl_zwrite_set_message_raw(z, old_msg); 441 owl_function_add_outgoing_zephyrs(z); 443 442 444 443 /* Clean up. */
Note: See TracChangeset
for help on using the changeset viewer.