Changeset 30 for trunk/src/renetcolAgg.c

Show
Ignore:
Timestamp:
04/20/07 16:31:36 (15 years ago)
Author:
andreu
Message:

bug of "template fantom" correction

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/renetcolAgg.c

    r29 r30  
    9595          for (j=0; j<strlen(buf); j++) {buf[j] = '\0';} 
    9696          strcat(name, RRD_LOCATION); 
    97           fprintf(stderr," SPL : %lu\n ",shmForAgg->prefixV4Tab[index][i].sampling); 
    9897          sprintf(ipStr, "%lu_%lu_%lu_%lu_%hu_%lu",  
    9998                  shmForAgg->prefixV4Tab[index][i].beginning>>24, 
     
    107106          strcat(name, RRD_EXTENSION); 
    108107          if ( (fp=fopen(name,"r")) == NULL ){ 
    109 #ifdef DEBUGAGG 
    110             fprintf(stderr, "Creation %s ... ", name);  
    111 #endif 
    112108            opt[0]= (char *) malloc((strlen(RRD_PARAM_0) + 1) * sizeof(char)); 
    113109            strcpy(opt[0], RRD_PARAM_0); 
     
    176172              opt[j] = NULL; 
    177173            } 
    178 #ifdef DEBUGAGG 
    179             fprintf(stderr, "end creation \n", name);  
    180 #endif 
    181174          }else{  
    182175            fclose(fp); 
    183 #ifdef DEBUGAGG 
    184             fprintf(stderr, "Update %s \n", name);  
    185 #endif 
    186176            rrd_already_created_ct++; 
    187177            snprintf(buf,