Changeset 269ed34


Ignore:
Timestamp:
Oct 21, 2003, 6:08:51 AM (20 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
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:
1077753b
Parents:
49d467c
Message:
Fixed bug in reporting when no one is subbed to a class
Added an extral newline in logging incoming zephyrs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r49d467c r269ed34  
    332.0.10-pre-1
    44        Allow 'hostname' in filters.
     5        Fixed bug in reporting when no one is subbed to a class
     6        Added an extral newline in logging incoming zephyrs
    57       
    682.0.9
  • logging.c

    r836ea3a3 r269ed34  
    207207    buff[i]='\0';
    208208    fprintf(file, "From: %s <%s>\n\n", buff, tmp);
    209     fprintf(file, "%s\n", owl_message_get_body(m));
     209    fprintf(file, "%s\n\n", owl_message_get_body(m));
    210210    owl_free(tmp);
    211211  } else if (owl_message_is_type_aim(m) && !owl_message_is_loginout(m)) {
     
    232232      fprintf(allfile, "Time: %s Host: %s\n", owl_message_get_timestr(m), owl_message_get_hostname(m));
    233233      fprintf(allfile, "From: %s <%s>\n\n", buff, tmp);
    234       fprintf(allfile, "%s\n", owl_message_get_body(m));
     234      fprintf(allfile, "%s\n\n", owl_message_get_body(m));
    235235      owl_free(tmp);
    236236    } else if (owl_message_is_type_aim(m) && !owl_message_is_loginout(m)) {
  • zephyr.c

    r9119a47 r269ed34  
    430430    if (strcasecmp(retnotice->z_class, "message")) {
    431431      char buff[1024];
    432       owl_function_error("Not logged in or not subscribing to class %s, instance %s",
    433                            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);
     432      owl_function_error("No one subscribed to class class %s", retnotice->z_class);
     433      sprintf(buff, "Could not send message to class %s: no one subscribed.\n", retnotice->z_class);
    436434      owl_function_adminmsg("", buff);
    437435    } else {
Note: See TracChangeset for help on using the changeset viewer.