cast argument to tolower to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14500 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -351,7 +351,7 @@ getreply (int expecteof)
|
||||
continue;
|
||||
case '\n':
|
||||
*p++ = '\0';
|
||||
if(isdigit(buf[0])){
|
||||
if(isdigit((unsigned char)buf[0])){
|
||||
sscanf(buf, "%d", &code);
|
||||
if(code == 631){
|
||||
code = 0;
|
||||
|
Reference in New Issue
Block a user