Diff for /libaitcfg/src/parse.c between versions 1.2.2.4 and 1.5.2.1

version 1.2.2.4, 2009/10/19 14:58:24 version 1.5.2.1, 2010/03/22 18:29:22
Line 8 Line 8
 *************************************************************************/  *************************************************************************/
 #include "global.h"  #include "global.h"
 #include "aitcfg.h"  #include "aitcfg.h"
 #include "tools.h"  
   
   
 // cfgDbg() Debug/Log operation  // cfgDbg() Debug/Log operation
Line 187  int ReadConfig(FILE *f, sl_config * __restrict cfg) Line 186  int ReadConfig(FILE *f, sl_config * __restrict cfg)
                         szLine[pos] = 0;                          szLine[pos] = 0;
                         rtrim(psAttr);                          rtrim(psAttr);
                         ltrim(psVal);                          ltrim(psVal);
                           unquot(psVal);
 #ifdef __DEBUG  #ifdef __DEBUG
                         cfgDbg(stdout, "DEBUG:: Attr(%p) ->%s size=%d Value(%p) ->%s size=%d\n",                           cfgDbg(stdout, "DEBUG:: Attr(%p) ->%s size=%d Value(%p) ->%s size=%d\n", 
                                         psAttr, psAttr, strlen((char*) psAttr), psVal, psVal, strlen((char*) psVal));                                          psAttr, psAttr, strlen((char*) psAttr), psVal, psVal, strlen((char*) psVal));

Removed from v.1.2.2.4  
changed lines
  Added in v.1.5.2.1


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