diff --git a/ab.c b/ab.c
index 041dea7..1b623bc 100644
--- a/ab.c
+++ b/ab.c
@@ -33,7 +33,6 @@ along with wyebadblock. If not, see .
#define EXE "wyebab"
#include
-static bool first = true;
static bool check(const char *requri, const char *pageuri)
{
char *uris = g_strconcat(requri, " ", pageuri, NULL);
@@ -49,6 +48,7 @@ static gboolean reqcb(WebKitWebPage *kp, WebKitURIRequest *req,
if (g_object_get_data(G_OBJECT(kp), "adblock") == (gpointer)'n')
return false;
+ static bool first = true;
if (first)
{
if (webkit_uri_request_get_http_headers(req))