diff --git a/dunst.c b/dunst.c index 2aede18..805f905 100644 --- a/dunst.c +++ b/dunst.c @@ -128,6 +128,8 @@ str_array *extract_urls( const char * to_match) if (ret != 0) { printf("failed to compile regex\n"); return NULL; + } else { + is_initialized = true; } }