Code

the last_ds value fuer unknown is 'U' and not 'UNKN'
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 12 May 2008 13:22:26 +0000 (13:22 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 12 May 2008 13:22:26 +0000 (13:22 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1339 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_create.c

index b3b70775f0b250c57ed9c251f05ebb297e4479ee..6dfc0fa6956c9b965ee6376fe37f87c4446324ed 100644 (file)
@@ -700,7 +700,7 @@ int rrd_create_fn(
         return (-1);
     }
 
-    strcpy(rrd->pdp_prep->last_ds, "UNKN");
+    strcpy(rrd->pdp_prep->last_ds, "U");
 
     rrd->pdp_prep->scratch[PDP_val].u_val = 0.0;
     rrd->pdp_prep->scratch[PDP_unkn_sec_cnt].u_cnt =