From 40d674d14cff051207e2004211b9e4e7686bb524 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 9 May 2005 17:51:22 +0000 Subject: Fixes to way allocations are handled git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1346 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd_io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspircd_io.cpp') diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 83c302d90..eb564e555 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -512,7 +512,7 @@ int ReadConf(std::stringstream *config, const char* tag, const char* var, int in const char* buf = config->str().c_str(); long bptr = 0; - long len = strlen(buf); + long len = config->str().length(); ptr = 0; in_token = 0; -- cgit v1.2.3