PennMUSH Community

Changeset 826

Show
Ignore:
Timestamp:
05/07/07 11:13:32 (2 years ago)
Author:
shawnw
Message:

More tweaks.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.2/branches/devel/src/attrib.c

    r823 r826  
    569569      } 
    570570    } else { 
    571       if (!AF_FLAGS(root) & AF_ROOT)  /* Upgrading old database */ 
    572     AF_FLAGS(root) |= AF_ROOT;  
     571      if (!AL_FLAGS(root) & AF_ROOT)  /* Upgrading old database */ 
     572    AL_FLAGS(root) |= AF_ROOT;  
    573573    } 
    574574  } 
     
    661661    if (!EMPTY_ATTRS) { 
    662662      unsigned char *t = compress(" "); 
    663       if (!t) { 
    664         push_free_list(root); 
    665         return AE_TREE; 
    666       } 
     663      if (!t)  
     664        mush_panic(T("Unable to allocate memory in atr_add()!")); 
    667665      root->data = chunk_create(t, u_strlen(t), 0); 
    668666      free(t);