summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
authorJohn van der Kamp <john@kirika.demon.nl>2010-06-01 07:54:25 +0530
committerMukund Sivaraman <muks@banu.com>2010-06-01 07:54:55 +0530
commita7933bdd3646d6be114eb5c68093918997840d9b (patch)
tree96f50f716897aa3eb1a0725932566de1e0ce107c /src/main.c
parent50e3a0f6d97e0a2d2d797b3766939171747fea2d (diff)
[BB#89] Don't recompile regular expressions
This is a modification of a patch originally written by John van der Kamp <john@kirika.demon.nl> at <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579427#12> The modification was done by the committer.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 064b440..228b381 100644
--- a/src/main.c
+++ b/src/main.c
@@ -383,6 +383,11 @@ main (int argc, char **argv)
log_message (LOG_INFO, "Initializing " PACKAGE " ...");
+ ret = config_compile_regex();
+ if (ret != 0) {
+ exit (EX_SOFTWARE);
+ }
+
initialize_config_defaults (&config_defaults);
process_cmdline (argc, argv, &config_defaults);