Added string compare check to prevent false positives

This commit is contained in:
Sam Stevens
2014-08-25 15:47:34 +01:00
parent e34a32555b
commit 520c7abfd1
3 changed files with 6 additions and 15301 deletions

6
list.c
View File

@@ -85,6 +85,10 @@ unsigned char find_entry(char* str) {
if (e == NULL) {
return 0;
} else {
return 1;
if (strcmp(str, e->str) == 0) {
return 1;
} else {
return 0;
}
}
}