Changeset 2f205a7


Ignore:
Timestamp:
Mar 16, 2009, 11:04:21 AM (12 years ago)
Author:
Sam Hartman <hartmans@mit.edu>
Branches:
debian
Children:
321ef52
Parents:
bd7e09d
git-author:
Nelson Elhage <nelhage@mit.edu> (03/16/09 10:48:57)
git-committer:
Sam Hartman <hartmans@mit.edu> (03/16/09 11:04:21)
Message:
zephyr: Don't give bogus error messages when adding subscriptions.

We were returning the value of an uninitalized 'ret' if we added
subscriptions to the deferred list instead of taking them
immediately. This primarily manifests as an occasional (false) error
suscribing to login messages at startup.
(cherry picked from commit 1810558433d183ef65dde80999b70779f467f38b)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    ra5e7ed6 r2f205a7  
    191191int owl_zephyr_loadsubs_helper(ZSubscription_t subs[], int count)
    192192{
    193   int ret;
     193  int ret = 0;
    194194  if (owl_global_is_havezephyr(&g)) {
    195195    int i;
Note: See TracChangeset for help on using the changeset viewer.