~ubuntu-branches/ubuntu/intrepid/syslog-ng/intrepid

« back to all changes in this revision

Viewing changes to src/cfg.c

  • Committer: Bazaar Package Importer
  • Author(s): SZALAY Attila
  • Date: 2006-11-17 09:37:45 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20061117093745-r3o5kfk91fy735cm
Tags: 2.0.0-1
* New upstream version. I hope it's really fix it.  (Closes: #384021)
* Remove util-linux dependecy. This dependency won't needed because
  util-linux is essential. (Closes: #398640)

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include "templates.h"
31
31
#include "misc.h"
32
32
#include "logmsg.h"
 
33
#include "dnscache.h"
33
34
 
34
35
#include <stdio.h>
35
36
#include <ctype.h>
207
208
          cfg->bad_hostname_compiled = TRUE;
208
209
        }
209
210
    }
 
211
  dns_cache_set_params(cfg->dns_cache_size, cfg->dns_cache_expire, cfg->dns_cache_expire_failed, cfg->dns_cache_hosts);
210
212
  return cfg->center->super.init(&cfg->center->super, cfg, persist);
211
213
}
212
214
 
357
359
  if (self->bad_hostname_compiled)
358
360
    regfree(&self->bad_hostname);
359
361
  g_free(self->bad_hostname_re);
 
362
  g_free(self->dns_cache_hosts);
360
363
  g_free(self);
361
364
}
362
365