Remove minor omission in sanity check

This commit is contained in:
hooper114 2009-07-17 22:11:29 +00:00
parent d877168b61
commit bd840d1ab9

View File

@ -92,7 +92,7 @@ int is_sane(char test_string[], unsigned char source[])
{ /* Verifies that a string only uses valid characters */
unsigned int i, j, latch;
for(i = 0; i < ustrlen(source) - 1; i++) {
for(i = 0; i < ustrlen(source); i++) {
latch = FALSE;
for(j = 0; j < strlen(test_string); j++) {
if (source[i] == test_string[j]) { latch = TRUE; } }