You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
776 B
18 lines
776 B
--- src/modules/bouncer/custom.c.orig Mon Oct 14 08:45:07 2002 |
|
+++ src/modules/bouncer/custom.c Thu Nov 28 15:51:50 2002 |
|
@@ -419,13 +419,13 @@ |
|
strncpy(errorstr, pbase, ssize); |
|
errorstr[ssize] = '\0'; |
|
|
|
- if (!isdigit(errorstr[0])) { |
|
+ if (!isdigit((int)(errorstr[0]))) { |
|
handle_error(550, useraddy, errorstr, outfilename); |
|
LMAPI->write_file(outfile, "User: %s:\n (%d) %s\n\n", useraddy, 550, errorstr); |
|
|
|
} else { |
|
errcode = atoi(errorstr); |
|
- for (errstr = errorstr; *errstr && isdigit(*errstr); errstr++); |
|
+ for (errstr = errorstr; *errstr && isdigit((int)(*errstr)); errstr++); |
|
if (*errstr) ++errstr; |
|
handle_error(errcode, useraddy, errstr, outfilename); |
|
LMAPI->write_file(outfile, "User: %s:\n (%d) %s\n\n", useraddy, errcode, errstr);
|
|
|