telize

High performance JSON IP and GeoIP REST API (IP Geolocation)
Log | Files | Refs | README | LICENSE

commit ed740134cd674c0075ca2919616a6bddb7093079
parent 71852d0995102b33d66f5bb9d6f2751ae220b2b7
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon,  7 Sep 2020 10:48:17 +0200

Move the GEOIP2DIR macro definition in conf/build.conf.

Diffstat:
Mconf/build.conf | 1+
Msrc/utils.c | 2--
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/conf/build.conf b/conf/build.conf @@ -10,6 +10,7 @@ # The flags below are shared between flavors cflags=-std=c99 -D_DEFAULT_SOURCE +cflags=-DGEOIP2DIR="/var/db/GeoIP/" cflags=-Wall -Wmissing-declarations -Wshadow cflags=-Wstrict-prototypes -Wmissing-prototypes cflags=-Wpointer-arith -Wcast-qual -Wsign-compare diff --git a/src/utils.c b/src/utils.c @@ -12,8 +12,6 @@ #include "telize.h" -#define GEOIP2DIR "/var/db/GeoIP/" - MMDB_s telize_asn; MMDB_s telize_city;