From cba41dbe1c8b359547f31dc8553f9fd5158dffee Mon Sep 17 00:00:00 2001 From: "Eric J. Korpela" Date: Thu, 25 Sep 2003 15:52:11 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2361 --- lib/xml_util.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/xml_util.C b/lib/xml_util.C index 8a4e9b2666..8eabb8ae95 100644 --- a/lib/xml_util.C +++ b/lib/xml_util.C @@ -262,7 +262,7 @@ unsigned char decode_char(const unsigned char *s) { } } -std::vector xml_decode_string(const unsigned char *input, size_t length=0) { +std::vector xml_decode_string(const unsigned char *input, size_t length) { unsigned int i; char c; if (!length) { @@ -286,7 +286,7 @@ std::vector xml_decode_string(const unsigned char *input, size_t return rv; } -std::string xml_encode_string(const unsigned char *input, size_t length=0) { +std::string xml_encode_string(const unsigned char *input, size_t length) { unsigned int i; if (!length) { // This is bad form. Are you sure there are no nulls in the input?