summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b55e81a)
raw | patch | inline | side by side (parent: b55e81a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 15 Apr 2009 07:05:58 +0000 (07:05 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 15 Apr 2009 07:05:58 +0000 (07:05 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1793 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_restore.c | patch | blob | history |
diff --git a/src/rrd_restore.c b/src/rrd_restore.c
index 79f804266f0636a6d454c660507f469afc91a53b..962b64c47f4729c9e7cb7e2810759c2ca7431b75 100644 (file)
--- a/src/rrd_restore.c
+++ b/src/rrd_restore.c
xmlFree(str_ptr);
if (str_ptr == end_ptr) {
- rrd_set_error("get_long_from_node: Cannot parse buffer as int: %s",
+ rrd_set_error("get_long_from_node: Cannot parse buffer as long: %s",
str_ptr);
return (-1);
}
str_ptr = (char *) xmlNodeListGetString(doc, node->xmlChildrenNode, 1);
if (str_ptr == NULL) {
- rrd_set_error("get_long_from_node: xmlNodeListGetString failed.");
+ rrd_set_error("get_ulong_from_node: xmlNodeListGetString failed.");
return (-1);
}
xmlFree(str_ptr);
if (str_ptr == end_ptr) {
- rrd_set_error("get_long_from_node: Cannot parse buffer as int: %s",
+ rrd_set_error("get_ulong_from_node: Cannot parse buffer as unsigned long: %s",
str_ptr);
return (-1);
}
*value = temp;
return (0);
-} /* int get_long_from_node */
+} /* int get_ulong_from_node */
static int get_double_from_node(
xmlDoc * doc,