diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-16 02:54:03 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-16 02:54:03 +0000 |
commit | 696dea9924fe9c4770eca6ea12804c41cc1f3a92 (patch) | |
tree | 8366fc1d79ef1953f973bda8123c6a70ad0fd3a9 /src | |
parent | daa206e243ef797a7199b4ee9927342f6a79b90a (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/hashcomp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |