| # | Line 85 | Line 85 | create_resv(const char *name, const char | |
|---|---|---|
| 85 | ||
| 86 | if (strlen(s) == 2 && IsAlpha(*(s + 1) && IsAlpha(*(s + 2)))) | |
| 87 | { | |
| 88 | + | #ifdef HAVE_LIBGEOIP |
| 89 | exptr = MyMalloc(sizeof(*exptr)); | |
| 90 | exptr->name = xstrdup(s); | |
| 91 | exptr->coid = GeoIP_id_by_code(s); | |
| 92 | dlinkAdd(exptr, &exptr->node, &conf->exempt_list); | |
| 93 | + | #endif |
| 94 | } | |
| 95 | else | |
| 96 | { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |