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;
|
continue;
|
||||||
case '\n':
|
case '\n':
|
||||||
*p++ = '\0';
|
*p++ = '\0';
|
||||||
if(isdigit(buf[0])){
|
if(isdigit((unsigned char)buf[0])){
|
||||||
sscanf(buf, "%d", &code);
|
sscanf(buf, "%d", &code);
|
||||||
if(code == 631){
|
if(code == 631){
|
||||||
code = 0;
|
code = 0;
|
||||||
|
Reference in New Issue
Block a user