Code

re-fix #243 checking for '\0' made the whole check pointless. Now it should actually...
[rrdtool-all.git] / program / src / rrd_update.c
index 4baa5258d12f9e3b52a8698e9c9affef7bcaf91b..1a6d2ef52d712a62b15081b240911e89acc54352 100644 (file)
@@ -1026,7 +1026,6 @@ static int update_pdp_prep(
                       || updvals[ds_idx + 1][0] > '9' )
                      && updvals[ds_idx + 1][0] != '-'
                      && updvals[ds_idx + 1][0] != 'U'
-                     && updvals[ds_idx + 1][0] == '\0'
                    ) {
                     rrd_set_error("not a simple integer: '%s'",
                                   updvals[ds_idx + 1]);