summaryrefslogtreecommitdiff
path: root/src/ladmin/ladmin.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-30 02:58:06 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-30 02:58:06 +0000
commit230ba4e3dd84a19f7dee67fdc97532e5869bef63 (patch)
treece45bbd4ee391c864da8c4d26ec786e7fd1e15b2 /src/ladmin/ladmin.c
parent8766394782084eef1b77d39f5b8e54947847735f (diff)
downloadhercules-230ba4e3dd84a19f7dee67fdc97532e5869bef63.tar.gz
hercules-230ba4e3dd84a19f7dee67fdc97532e5869bef63.tar.bz2
hercules-230ba4e3dd84a19f7dee67fdc97532e5869bef63.tar.xz
hercules-230ba4e3dd84a19f7dee67fdc97532e5869bef63.zip
More ANSI C++/C conformance fixes [SVN 1341: MouseJstr]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1341 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/ladmin/ladmin.c')
-rw-r--r--src/ladmin/ladmin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ladmin/ladmin.c b/src/ladmin/ladmin.c
index 0453efa1d..432a78a95 100644
--- a/src/ladmin/ladmin.c
+++ b/src/ladmin/ladmin.c
@@ -4256,8 +4256,8 @@ int ladmin_config_read(const char *cfgName) {
line[sizeof(line)-1] = '\0';
if (sscanf(line, "%[^:]: %[^\r\n]", w1, w2) == 2) {
- remove_control_chars(w1);
- remove_control_chars(w2);
+ remove_control_chars((unsigned char *) w1);
+ remove_control_chars((unsigned char *) w2);
if(strcmpi(w1,"login_ip")==0){
struct hostent *h = gethostbyname (w2);