Changeset 3c7d086a for functions.c
- Timestamp:
- Sep 26, 2005, 3:48:37 PM (19 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:
- 0154e2d
- Parents:
- e74e573
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r15b34fd r3c7d086a 399 399 m=owl_function_make_outgoing_zephyr(mymsg, line, owl_zwrite_get_zsig(&z)); 400 400 401 /* log it */ 402 owl_log_message(m); 403 404 /* add it or nuke it */ 405 if (owl_global_is_displayoutgoing(&g)) { 406 owl_function_add_message(m); 401 if (m) { 402 /* log it */ 403 owl_log_message(m); 404 405 /* add it or nuke it */ 406 if (owl_global_is_displayoutgoing(&g)) { 407 owl_function_add_message(m); 408 } else { 409 owl_message_free(m); 410 } 407 411 } else { 408 owl_ message_free(m);412 owl_function_error("Could not create outgoing zephyr message"); 409 413 } 410 414 } … … 459 463 mymsg=owl_zwrite_get_message(&z); 460 464 m=owl_function_make_outgoing_zephyr(mymsg, line, owl_zwrite_get_zsig(&z)); 461 462 /* log it */ 463 owl_log_message(m); 464 465 /* add it or nuke it */ 466 if (owl_global_is_displayoutgoing(&g)) { 467 owl_function_add_message(m); 465 if (m) { 466 /* log it */ 467 owl_log_message(m); 468 469 /* add it or nuke it */ 470 if (owl_global_is_displayoutgoing(&g)) { 471 owl_function_add_message(m); 472 } else { 473 owl_message_free(m); 474 } 468 475 } else { 469 owl_ message_free(m);476 owl_function_error("Could not create outgoing zephyr message"); 470 477 } 471 478 } … … 498 505 m=owl_function_make_outgoing_aim(msg, to); 499 506 500 /* log it */ 501 owl_log_message(m); 502 503 /* display it or nuke it */ 504 if (owl_global_is_displayoutgoing(&g)) { 505 owl_function_add_message(m); 506 } else { 507 owl_message_free(m); 507 if (m) { 508 /* log it */ 509 owl_log_message(m); 510 511 /* display it or nuke it */ 512 if (owl_global_is_displayoutgoing(&g)) { 513 owl_function_add_message(m); 514 } else { 515 owl_message_free(m); 516 } 517 } else { 518 owl_function_error("Could not create outgoing AIM message"); 508 519 } 509 520
Note: See TracChangeset
for help on using the changeset viewer.