function argument should be a pointer
This commit is contained in:
parent
29b0d010d5
commit
2ec836f1f9
@ -288,7 +288,7 @@ find_file(const char *name)
|
||||
do {
|
||||
read_header(&hdr, page);
|
||||
if(COFFEE_PAGE_ACTIVE(hdr)) {
|
||||
if(dir_cache_find(name[0]) == -1) {
|
||||
if(dir_cache_find(name) == -1) {
|
||||
dir_cache_add(name[0], page);
|
||||
}
|
||||
if(strcmp(name, hdr.name) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user