diff --git a/configure.ac b/configure.ac index 8649d3b..5561e11 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.64) -AC_INIT([IP2Location-Varnish], [1.0.0], [support@ip2location.com], [IP2Location-Varnish]) +AC_INIT([IP2Location-Varnish], [1.0.4], [support@ip2location.com], [IP2Location-Varnish]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR(src/vmod_ip2location.vcc) AM_CONFIG_HEADER(config.h) diff --git a/readme.md b/readme.md index c6f0a6f..c877761 100644 --- a/readme.md +++ b/readme.md @@ -4,7 +4,7 @@ |-|-| | Author: | IP2Location | | Date: | 2020-11-17 | -| Version: | 1.0.3 | +| Version: | 1.0.4 | | Manual section: | 3 | An Varnish module that enables the website or server admins to find the country, region, city, latitude, longitude, zip code, time zone, ISP, domain name, connection type, area code, weather, mobile network, elevation, usage type by IP address. The module reads the geo location information from **IP2Location BIN data** file. diff --git a/src/vmod_ip2location.c b/src/vmod_ip2location.c index 265009b..afda407 100644 --- a/src/vmod_ip2location.c +++ b/src/vmod_ip2location.c @@ -76,7 +76,7 @@ convert(VRT_CTX, float f) { char buf[10]; - gcvt(f, 5, buf); + (void)! gcvt(f, 5, buf); return (copy(ctx, buf)); }