Changeset 9119a47


Ignore:
Timestamp:
Oct 17, 2003, 10:37:55 PM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
c15bbfb
Parents:
11a7c6a
Message:
Create an admin message explaning that a zephyr couldn't be sent
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rf51bc78 r9119a47  
    77                Enable in owl.h with:  OWL_STDERR_REDIR 1
    88        Reverted some error messages to makemsg's
     9        Create an admin message explaning that a zephyr couldn't
     10           be sent
    911       
    10122.0.9-pre-2
  • zephyr.c

    rb4db911 r9119a47  
    429429  } else if (!strcmp(retnotice->z_message, ZSRVACK_NOTSENT)) {
    430430    if (strcasecmp(retnotice->z_class, "message")) {
     431      char buff[1024];
    431432      owl_function_error("Not logged in or not subscribing to class %s, instance %s",
    432433                           retnotice->z_class, retnotice->z_class_inst);
     434
     435      sprintf(buff, "Could not send message to %s: not logged in or subscribing to messages.\n", tmp);
     436      owl_function_adminmsg("", buff);
    433437    } else {
     438      char buff[1024];
    434439      tmp = short_zuser(retnotice->z_recipient);
    435440      owl_function_error("%s: Not logged in or subscribing to messages.",
    436441                           tmp);
     442
     443      sprintf(buff, "Could not send message to %s: not logged in or subscribing to messages.\n", tmp);
     444      owl_function_adminmsg("", buff);
    437445      owl_free(tmp);
    438446    }
Note: See TracChangeset for help on using the changeset viewer.