summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3919b6d)
raw | patch | inline | side by side (parent: 3919b6d)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 4 Sep 2003 13:16:12 +0000 (13:16 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 4 Sep 2003 13:16:12 +0000 (13:16 +0000) |
src/rrd_update.c | patch | blob | history |
diff --git a/src/rrd_update.c b/src/rrd_update.c
index ecd5b37066678df22e4b4751d4d6a55e0b87a6b0..7217041ee4bee2ca1a2231b7a9d80dcd8718a9bc 100644 (file)
--- a/src/rrd_update.c
+++ b/src/rrd_update.c
*****************************************************************************
* $Id$
* $Log$
+ * Revision 1.12 2003/09/04 13:16:12 oetiker
+ * should not assigne but compare ... grrrrr
+ *
* Revision 1.11 2003/09/02 21:58:35 oetiker
* be pickier about what we accept in rrd_update. Complain if things do not work out
*
case DST_DERIVE:
if(rrd.pdp_prep[i].last_ds[0] != 'U'){
for(ii=0;updvals[i+1][ii] != '\0';ii++){
- if(updvals[i+1][ii] < '0' || updvals[i+1][ii] > '9' || (ii=0 && updvals[i+1][ii] == '-')){
+ if(updvals[i+1][ii] < '0' || updvals[i+1][ii] > '9' || (ii==0 && updvals[i+1][ii] == '-')){
rrd_set_error("not a simple integer: '%s'",updvals[i+1]);
break;
}