projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
re-fix #243 checking for '\0' made the whole check pointless. Now it should actually...
[rrdtool.git]
/
src
/
rrd_update.c
diff --git
a/src/rrd_update.c
b/src/rrd_update.c
index
9526ec2
..
8efd493
100644
(file)
--- a/
src/rrd_update.c
+++ b/
src/rrd_update.c
@@
-1047,7
+1047,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] > '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]);
) {
rrd_set_error("not a simple integer: '%s'",
updvals[ds_idx + 1]);