Changeset 97cd00be for zephyr.c


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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.