]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/stringpool.c
database: Copy the file pointer so we can keep the file open
[people/ms/libloc.git] / src / stringpool.c
index abd383171b9318b3b3190c5a0508c6a689136d7e..2b27dd7a2e89d85d8f149260e8eaf5aa9b653712 100644 (file)
@@ -215,6 +215,8 @@ LOC_EXPORT int loc_stringpool_read(struct loc_stringpool* pool, FILE* f, off_t o
        if (r)
                return r;
 
+       DEBUG(pool->ctx, "Reading string pool from %zu\n", offset);
+
        // Seek to the right offset
        r = fseek(f, offset, SEEK_SET);
        if (r)