Diff for /libelwix/inc/elwix/avar.h between versions 1.11 and 1.12

version 1.11, 2019/09/24 15:49:52 version 1.12, 2022/01/06 15:13:01
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 - 2019Copyright 2004 - 2022
         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 353  typedef struct __packed { Line 353  typedef struct __packed {
                                                 switch (AIT_TYPE(__val)) { \                                                  switch (AIT_TYPE(__val)) { \
                                                         case buffer: \                                                          case buffer: \
                                                         case string: \                                                          case string: \
                                                                   assert(!__val->val_in); \
                                                                 if (__val->val.buffer) \                                                                  if (__val->val.buffer) \
                                                                         memset(__val->val.buffer, 0, \                                                                          memset(__val->val.buffer, 0, \
                                                                                 AIT_LEN(__val)); \                                                                                  AIT_LEN(__val)); \

Removed from v.1.11  
changed lines
  Added in v.1.12


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