Skip to content
Snippets Groups Projects
Commit 5d3974f4 authored by Andre Maroneze's avatar Andre Maroneze Committed by Andre Maroneze
Browse files

[Libc] fix code in stub

parent 9dec8f20
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ struct hostent *gethostbyname(const char *name) {
return &__fc_ghbn.host;
}
if (*cp < '0' && *cp > '9' && *cp != '.') break;
if (*cp < '0' || *cp > '9' || *cp != '.') break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment