Tobi,

Here's a tiny patch for the latest patch you put out.

Blair
diff -rc ../rrdtool-1.0.7/src/rrd_restore.c ./src/rrd_restore.c
*** ../rrdtool-1.0.7/src/rrd_restore.c  Mon Aug 23 10:20:10 1999
--- ./src/rrd_restore.c Mon Aug 23 11:05:38 1999
***************
*** 212,218 ****
                  rrd_value_t  * value = 
&(rrd->rrd_value[(rows-1)*rrd->stat_head->ds_cnt+i]);
  
                  read_tag(&ptr3,"v","%lf", value);
!                 
                  if (
                          (rc == 1)                     /* do we have to check 
for the ranges */
                          &&
--- 212,218 ----
                  rrd_value_t  * value = 
&(rrd->rrd_value[(rows-1)*rrd->stat_head->ds_cnt+i]);
  
                  read_tag(&ptr3,"v","%lf", value);
! 
                  if (
                          (rc == 1)                     /* do we have to check 
for the ranges */
                          &&
***************
*** 226,232 ****
                                && (*value > 
rrd->ds_def[i].par[DS_max_val].u_val))
                      )
                  ) {
!                     fprintf ( stderr, "out of range found [ds: %u], [value : 
%0.10e]\n", i, *value);
                      *value = DNAN;
                  }
          }
--- 226,232 ----
                                && (*value > 
rrd->ds_def[i].par[DS_max_val].u_val))
                      )
                  ) {
!                     fprintf(stderr, "out of range found [ds: %lu], [value : 
%0.10e]\n", i, *value);
                      *value = DNAN;
                  }
          }
begin:vcard 
n:Zajac;Blair
tel;fax:310-827-8177
tel;work:310-827-3700 x1703
x-mozilla-html:FALSE
url:www.geocities.com
org:Yahoo!/GeoCities
adr:;;4499 Glencoe Avenue;Marina del Rey;CA;90292;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Technical Yahoo!
x-mozilla-cpt:;32736
fn:Dr. Blair Zajac
end:vcard

Reply via email to