From a228fa2a1d77272a3534c66519bd20ae915ddffe Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Tue, 15 Jan 2008 09:42:21 -0330 Subject: Bug 2413 - arbitraray config file line limit --- cpp/src/Ice/PropertiesI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/Ice/PropertiesI.cpp') diff --git a/cpp/src/Ice/PropertiesI.cpp b/cpp/src/Ice/PropertiesI.cpp index 318ad95bfbd..5ce4195df61 100644 --- a/cpp/src/Ice/PropertiesI.cpp +++ b/cpp/src/Ice/PropertiesI.cpp @@ -291,8 +291,8 @@ Ice::PropertiesI::load(const std::string& file) throw ex; } - char line[1024]; - while(in.getline(line, 1024)) + string line; + while(getline(in, line)) { parseLine(line, _converter); } -- cgit v1.2.3