~ubuntu-branches/ubuntu/feisty/syslog-ng/feisty-security

« back to all changes in this revision

Viewing changes to src/main.c

  • Committer: Bazaar Package Importer
  • Author(s): SZALAY Attila
  • Date: 2006-11-17 09:37:45 UTC
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20061117093745-5no9gnsa443j48v2
Tags: upstream-2.0.0
ImportĀ upstreamĀ versionĀ 2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include "memtrace.h"
29
29
#include "misc.h"
30
30
#include "stats.h"
 
31
#include "dnscache.h"
31
32
 
32
33
#include <sys/types.h>
33
34
#include <stdio.h>
389
390
  setup_signals();
390
391
  msg_init(log_to_stderr);
391
392
  child_manager_init();
 
393
  dns_cache_init();
392
394
 
393
395
  cfg = cfg_new(cfgfilename);
394
396
  if (!cfg)
420
422
  rc = main_loop_run(cfg);
421
423
  child_manager_deinit();
422
424
  msg_deinit();
 
425
  dns_cache_destroy();
423
426
  z_mem_trace_dump();
424
427
  return rc;
425
428
}