Changeset 2c5ee3e


Ignore:
Timestamp:
Aug 31, 2010, 11:02:09 AM (11 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
8c6e2c1
Parents:
691d012
git-author:
Alejandro R. Sedeño <asedeno@mit.edu> (08/03/10 18:01:51)
git-committer:
Alejandro R. Sedeño <asedeno@mit.edu> (08/31/10 11:02:09)
Message:
Don't try to load default subs if zephyr has not been initialized yet.

Signed-off-by: Alejandro R. Sedeño <asedeno@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    rd40ad8b r2c5ee3e  
    353353{
    354354#ifdef HAVE_LIBZEPHYR
    355   ZSubscription_t subs[10];
     355  if (owl_global_is_havezephyr(&g)) {
     356    ZSubscription_t subs[10];
    356357   
    357   if (ZSubscribeTo(subs,0,0) != ZERR_NONE) {
    358     owl_function_error("Error subscribing to default zephyr notifications.");
    359     return(-1);
     358    if (ZSubscribeTo(subs,0,0) != ZERR_NONE) {
     359      owl_function_error("Error subscribing to default zephyr notifications.");
     360      return(-1);
     361    }
    360362  }
    361363  return(0);
Note: See TracChangeset for help on using the changeset viewer.