Diff for /libaitcfg/src/aitcfg.c between versions 1.13 and 1.14

version 1.13, 2016/05/18 15:18:10 version 1.14, 2019/12/05 14:33:35
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004 - 2016Copyright 2004 - 2019
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 71  cfg_tree_cmp(struct tagCfg *a, struct tagCfg *b) Line 71  cfg_tree_cmp(struct tagCfg *a, struct tagCfg *b)
   
         assert(a && b);          assert(a && b);
   
        ret = ((AIT_KEY(&a->cfg_sec) << 16) | AIT_KEY(&a->cfg_attr)) -         ret = ((AIT_KEY(&a->cfg_sec) << 15) | AIT_KEY(&a->cfg_attr)) - 
                ((AIT_KEY(&b->cfg_sec) << 16) | AIT_KEY(&b->cfg_attr));                ((AIT_KEY(&b->cfg_sec) << 15) | AIT_KEY(&b->cfg_attr));
   
         if (ret < 0)          if (ret < 0)
                 return -1;                  return -1;

Removed from v.1.13  
changed lines
  Added in v.1.14


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>