Correct check for memory objects.

This commit is contained in:
gagan%netscape.com 1998-09-23 06:03:27 +00:00
Родитель 3998f7fe7e
Коммит b0651c8db7
1 изменённых файлов: 1 добавлений и 2 удалений

3
network/cache/mkmemcac.c поставляемый
Просмотреть файл

@ -2073,7 +2073,7 @@ net_NuCacheLoad (ActiveEntry * cur_entry)
}
cur_entry->protocol = NU_CACHE_TYPE_URL;
cur_entry->memory_file = TRUE; /* TODO */
cur_entry->memory_file = (CacheObject_GetModule(pObject) == 0); /* TODO replace 0 with the enum */
/* CacheObject->SetReadLock(pObject); */
cur_entry->local_file = TRUE; /* Check about this one- TODO */
@ -2275,7 +2275,6 @@ net_InterruptNuCache (ActiveEntry * cur_entry)
return cur_entry->status;
}
return -1;
}