X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_restore.c;h=369f7bdf290047d6c874cca16841d4500d283a57;hp=59199a75738d060aed4b39141219d8c382495b29;hb=bec44cf332e54de7860ea693a2b5b441cf4da7d2;hpb=99bc538e0bef411b7d757f79a527629b99c40870 diff --git a/src/rrd_restore.c b/src/rrd_restore.c index 59199a7..369f7bd 100644 --- a/src/rrd_restore.c +++ b/src/rrd_restore.c @@ -115,7 +115,7 @@ static int get_long_from_node( 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); } @@ -136,7 +136,7 @@ static int get_ulong_from_node( 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); } @@ -145,7 +145,7 @@ static int get_ulong_from_node( 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); } @@ -153,7 +153,7 @@ static int get_ulong_from_node( *value = temp; return (0); -} /* int get_long_from_node */ +} /* int get_ulong_from_node */ static int get_double_from_node( xmlDoc * doc,