From 696dea9924fe9c4770eca6ea12804c41cc1f3a92 Mon Sep 17 00:00:00 2001 From: peavey Date: Sat, 16 Dec 2006 02:54:03 +0000 Subject: Make irc::spacify take 'const char*' instead of 'char*' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6005 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/hashcomp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index 2a880b2c5..5c9cac7bb 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -310,7 +310,7 @@ std::string irc::hex(const unsigned char *raw, size_t rawsz) return buf; } -const char* irc::Spacify(char* n) +const char* irc::Spacify(const char* n) { static char x[MAXBUF]; strlcpy(x,n,MAXBUF); -- cgit v1.2.3