- Timestamp:
- Jan 11, 2008, 2:28:36 PM (16 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- fac5463
- Parents:
- 16c6cca (diff), 9e02bb7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zephyr.c
r6201646 ra827529 601 601 } 602 602 } else if (!strcmp(retnotice->z_message, ZSRVACK_NOTSENT)) { 603 if (strcasecmp(retnotice->z_class, "message")) { 604 char buff[1024]; 605 owl_function_error("No one subscribed to class class %s", retnotice->z_class); 606 sprintf(buff, "Could not send message to class %s: no one subscribed.\n", retnotice->z_class); 603 #define BUFFLEN 1024 604 if (retnotice->z_recipient == NULL 605 || *retnotice->z_recipient == NULL 606 || *retnotice->z_recipient == '@') { 607 char buff[BUFFLEN]; 608 owl_function_error("No one subscribed to class %s", retnotice->z_class); 609 snprintf(buff, BUFFLEN, "Could not send message to class %s: no one subscribed.\n", retnotice->z_class); 607 610 owl_function_adminmsg("", buff); 608 611 } else { 609 char buff[ 1024];612 char buff[BUFFLEN]; 610 613 tmp = short_zuser(retnotice->z_recipient); 611 owl_function_error("%s: Not logged in or subscribing to messages.", tmp); 612 sprintf(buff, "Could not send message to %s: not logged in or subscribing to messages.\n", tmp); 614 owl_function_error("%s: Not logged in or subscribing.", tmp); 615 snprintf(buff, BUFFLEN, "Could not send message to %s: not logged in or subscribing to", tmp); 616 if(strcmp(retnotice->z_class, "message")) { 617 snprintf(buff, BUFFLEN, 618 "%s class %s, instance %s.\n", buff, 619 retnotice->z_class, 620 retnotice->z_class_inst); 621 } else { 622 snprintf(buff, BUFFLEN, 623 "%s messages.\n", buff); 624 } 613 625 owl_function_adminmsg("", buff); 614 626 owl_log_outgoing_zephyr_error(tmp, buff);
Note: See TracChangeset
for help on using the changeset viewer.