- Timestamp:
- Jan 23, 2012, 6:41:23 PM (13 years ago)
- Branches:
- master, release-1.10, release-1.9
- Children:
- f183917
- Parents:
- 9d206c6
- git-author:
- Anders Kaseorg <andersk@mit.edu> (10/22/11 21:28:36)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (01/23/12 18:41:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zephyr.c
rbff1f22 rf7c0730 697 697 Code_t ret; 698 698 ZNotice_t notice; 699 char *zsender = NULL; 699 700 700 701 memset(¬ice, 0, sizeof(notice)); … … 708 709 notice.z_class=zstr(class); 709 710 notice.z_class_inst=zstr(instance); 710 notice.z_sender=NULL;711 711 if (!strcmp(recipient, "@")) { 712 712 notice.z_recipient=zstr(""); 713 713 if (*owl_global_get_zsender(&g)) 714 notice.z_sender=zstr(owl_global_get_zsender(&g));714 notice.z_sender = zsender = long_zuser(owl_global_get_zsender(&g)); 715 715 } else { 716 716 notice.z_recipient=zstr(recipient); … … 730 730 g_free(notice.z_message); 731 731 ZFreeNotice(¬ice); 732 g_free(zsender); 732 733 if (ret != ZERR_NONE) { 733 734 owl_function_error("Error sending zephyr: %s", error_message(ret));
Note: See TracChangeset
for help on using the changeset viewer.