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