X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Flibloc.git;a=blobdiff_plain;f=src%2Fwriter.c;fp=src%2Fwriter.c;h=60a129bd3a45770e0ab8c13e434fb8881d838876;hp=bf3d2bb9faa3c42a8c9a96f06c4052540daa6f55;hb=47bea9419ef74adeeb666d26c48d44b378102168;hpb=d7c9d57ba85e9e4e026e8feae8fc6f74b04bf4a4 diff --git a/src/writer.c b/src/writer.c index bf3d2bb..60a129b 100644 --- a/src/writer.c +++ b/src/writer.c @@ -507,13 +507,13 @@ LOC_EXPORT int loc_writer_write(struct loc_writer* writer, FILE* f) { if (r) return r; - // Write pool - r = loc_database_write_pool(writer, &header, &offset, f); + // Write countries + r = loc_database_write_countries(writer, &header, &offset, f); if (r) return r; - // Write countries - r = loc_database_write_countries(writer, &header, &offset, f); + // Write pool + r = loc_database_write_pool(writer, &header, &offset, f); if (r) return r;