Changeset 00842c3


Ignore:
Timestamp:
Mar 6, 2011, 2:14:44 PM (14 years ago)
Author:
Karl Ramm <kcr@1ts.org>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
c518676
Parents:
c73a22d
git-author:
Karl Ramm <kcr@1ts.org> (02/11/11 23:59:49)
git-committer:
Karl Ramm <kcr@1ts.org> (03/06/11 14:14:44)
Message:
make the unsuball functions's error handling fit in with the rest of the program

"what is this, I don't even"
runing com_err in the middle of a curses program is just plain wrong.

Reviewed-By: Nelson Elhage <nelhage@nelhage.com>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    rc73a22d r00842c3  
    429429{
    430430#if HAVE_LIBZEPHYR
    431   int ret;
     431  Code_t ret;
    432432
    433433  ZResetAuthentication();
    434   ret=ZCancelSubscriptions(0);
    435   if (ret != ZERR_NONE) {
    436     com_err("owl",ret,"while unsubscribing");
    437   }
     434  ret = ZCancelSubscriptions(0);
     435  if (ret != ZERR_NONE)
     436    owl_function_error("Zephyr: Cancelling subscriptions: %s",
     437                       error_message(ret));
    438438#endif
    439439}
Note: See TracChangeset for help on using the changeset viewer.