From 290e39f80c7906225314d9477e46d96555dfcd16 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Fri, 19 Dec 2014 11:56:40 -0800 Subject: [PATCH] Improve function name --- geojson.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geojson.c b/geojson.c index 2965ccb..adf3f6c 100644 --- a/geojson.c +++ b/geojson.c @@ -194,7 +194,7 @@ struct pool_val *deserialize_string(char **f, struct pool *p, int type) { return ret; } -void check(int geomfd[4], off_t geom_size[4], char *metabase, unsigned *file_bbox, struct pool *file_keys, unsigned *midx, unsigned *midy, const char *layername, int maxzoom, int minzoom, sqlite3 *outdb, double droprate, int buffer, const char *fname, struct json_pull *jp, const char *tmpdir) { +void traverse_zooms(int geomfd[4], off_t geom_size[4], char *metabase, unsigned *file_bbox, struct pool *file_keys, unsigned *midx, unsigned *midy, const char *layername, int maxzoom, int minzoom, sqlite3 *outdb, double droprate, int buffer, const char *fname, struct json_pull *jp, const char *tmpdir) { int i; for (i = 0; i <= maxzoom; i++) { long long most = 0; @@ -591,7 +591,7 @@ void read_json(FILE *f, const char *fname, const char *layername, int maxzoom, i fprintf(stderr, "%lld features, %lld bytes of geometry, %lld bytes of metadata\n", seq, (long long) geomst.st_size, (long long) metast.st_size); - check(fd, size, meta, file_bbox, &file_keys, &midx, &midy, layername, maxzoom, minzoom, outdb, droprate, buffer, fname, jp, tmpdir); + traverse_zooms(fd, size, meta, file_bbox, &file_keys, &midx, &midy, layername, maxzoom, minzoom, outdb, droprate, buffer, fname, jp, tmpdir); if (munmap(meta, metast.st_size) != 0) { perror("munmap meta");