Changeset 97cd00be


Ignore:
Timestamp:
Nov 1, 2003, 1:04:36 AM (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:
3c7d007a
Parents:
7d22e76
Message:
Better align loopback and admin messages
Better errors on zephyr sub failures
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r252a5c2 r97cd00be  
    22
    332.0.12-pre-3
     4        Better align oneline admin and loopback messages
    45        Print an admin message indicating when subscriptions can
    56           not be loaded on startup
  • stylefunc.c

    rc7041b3 r97cd00be  
    584584  } else if (owl_message_is_type_admin(m)) {
    585585    owl_fmtext_append_spaces(fm, OWL_TAB);
    586     owl_fmtext_append_normal(fm, "< ADMIN                                        ");
     586    owl_fmtext_append_normal(fm, "< ADMIN                                  ");
    587587   
    588588    tmp=owl_strdup(owl_message_get_body(m));
     
    593593  } else {
    594594    owl_fmtext_append_spaces(fm, OWL_TAB);
    595     owl_fmtext_append_normal(fm, "< LOOPBACK                                     ");
     595    owl_fmtext_append_normal(fm, "< LOOPBACK                               ");
    596596   
    597597    tmp=owl_strdup(owl_message_get_body(m));
  • zephyr.c

    r252a5c2 r97cd00be  
    228228  ZResetAuthentication();
    229229  if (ZSubscribeTo(subs,1,0) != ZERR_NONE) {
    230     fprintf(stderr, "Error subbing\n");
    231     ret=-2;
     230    owl_function_error("Error subbing to <%s,%s,%s>", class, inst, recip);
     231    return(-2);
    232232  }
    233233  return(0);
     
    250250  ZResetAuthentication();
    251251  if (ZUnsubscribeTo(subs,1,0) != ZERR_NONE) {
    252     fprintf(stderr, "Error unsubbing\n");
    253     ret=-2;
     252    owl_function_error("Error unsubbing from <%s,%s,%s>", class, inst, recip);
     253    return(-2);
    254254  }
    255255  return(0);
Note: See TracChangeset for help on using the changeset viewer.