comparison src/http/modules/ngx_http_geoip_module.c @ 3914:2b92090d8a43

fix typo
author Igor Sysoev <igor@sysoev.ru>
date Wed, 11 May 2011 09:25:37 +0000
parents 30d4d6187316
children e3645e338937
comparison
equal deleted inserted replaced
3913:97a4df13debc 3914:2b92090d8a43
439 439
440 gcf->country = GeoIP_open((char *) value[1].data, GEOIP_MEMORY_CACHE); 440 gcf->country = GeoIP_open((char *) value[1].data, GEOIP_MEMORY_CACHE);
441 441
442 if (gcf->country == NULL) { 442 if (gcf->country == NULL) {
443 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 443 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
444 "GeoIO_open(\"%V\") failed", &value[1]); 444 "GeoIP_open(\"%V\") failed", &value[1]);
445 445
446 return NGX_CONF_ERROR; 446 return NGX_CONF_ERROR;
447 } 447 }
448 448
449 if (cf->args->nelts == 3) { 449 if (cf->args->nelts == 3) {
489 489
490 gcf->city = GeoIP_open((char *) value[1].data, GEOIP_MEMORY_CACHE); 490 gcf->city = GeoIP_open((char *) value[1].data, GEOIP_MEMORY_CACHE);
491 491
492 if (gcf->city == NULL) { 492 if (gcf->city == NULL) {
493 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 493 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
494 "GeoIO_open(\"%V\") failed", &value[1]); 494 "GeoIP_open(\"%V\") failed", &value[1]);
495 495
496 return NGX_CONF_ERROR; 496 return NGX_CONF_ERROR;
497 } 497 }
498 498
499 if (cf->args->nelts == 3) { 499 if (cf->args->nelts == 3) {