Changeset 47 for trunk/src/renetcol.c

Show
Ignore:
Timestamp:
08/30/07 17:46:34 (15 years ago)
Author:
andreu
Message:

merge from tag REL-0.0.11beta

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/renetcol.c

    r36 r47  
    155155  shmForAgg->currentTable = 0; 
    156156  shmForAgg->secondTable = 1; 
     157  shmForAgg->readed = 0; 
    157158 
    158159  myPtrs.rulesListPtr = NULL; 
     
    166167  } 
    167168  tmp = NULL; 
    168 /*   printRule(rulesListPtr); */ 
    169 /*   exit(1); */ 
     169#ifdef DEBUG 
     170  printRule(rulesListPtr); 
     171#endif 
     172 
    170173 
    171174  fprintf(stderr, "renetcol: I become a deamon, next messages via syslogd. By.\n"); 
     
    329332  setCache(myPtrs.rulesListPtr); 
    330333  sendReadRulesSignal(myQueue); 
     334#ifdef DEBUG 
     335  printRule(myPtrs.rulesListPtr); 
     336#endif 
    331337} 
    332338 
     
    355361  RuleDefPtr def = NULL; 
    356362 
     363#ifdef DEBUG 
     364  fprintf(stderr,"Cache for Rules\n"); 
     365#endif  
    357366  while (tmp) { 
    358367    def = tmp->def; 
     
    364373      rulesAddress[def->fieldType][i] = def; 
    365374      def = def->next; 
    366     } 
     375#ifdef DEBUG 
     376      fprintf(stderr,"%d: %d ", def->fieldType, i); 
     377#endif      
     378    } 
     379#ifdef DEBUG 
     380    fprintf(stderr,"\n"); 
     381#endif       
    367382    tmp = tmp->next; 
    368383  }