Changeset 26

Show
Ignore:
Timestamp:
02/08/07 23:32:46 (16 years ago)
Author:
andreu
Message:

aggregation feature : error rrd correct

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/renetcolAgg.c

    r25 r26  
    9393                 ipStr, 
    9494                 RRD_EXTENSION,  
    95                  now,  /* or ctime(&now) with %s FIXME -300 */ 
     95                 now-300,  /* or ctime(&now) with %s */ 
    9696                 shmForAgg->prefixV4Tab[index][i].flowNbIN,  /* 1  */ 
    9797                 shmForAgg->prefixV4Tab[index][i].flowNbOUT, 
     
    126126                 ); 
    127127        printf("\n%s\n", buf);  
    128         if ( 0 == (res_rrd = wrap_rrd_update(buf) )) {  
     128        if ( (res_rrd = wrap_rrd_update(buf)) < 0 ) {  
    129129          syslog(LOG_ERR, "wrap_rrd_update return : %d, param were : %s", res_rrd, buf); 
    130130        }