From c4a0c63f0dd25390d765b5fc52a7e91743641adf Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 28 May 2007 19:40:57 +0000 Subject: Use 'Stef' instead of 'Nate' --- daemon/rrdbotd.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'daemon/rrdbotd.c') diff --git a/daemon/rrdbotd.c b/daemon/rrdbotd.c index c74648d..5b447a3 100644 --- a/daemon/rrdbotd.c +++ b/daemon/rrdbotd.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, Nate Nielsen + * Copyright (c) 2005, Stefan Walter * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -32,7 +32,7 @@ * * * CONTRIBUTORS - * Nate Nielsen + * Stef Walter * */ @@ -312,10 +312,6 @@ main(int argc, char* argv[]) /* The mainloop server */ server_init(); - /* Setup the Async DNS resolver */ - if(async_resolver_init() < 0) - err(1, "couldn't initialize resolver"); - /* Parse config and setup SNMP system */ rb_config_parse(); @@ -335,6 +331,13 @@ main(int argc, char* argv[]) daemonized = 1; } + /* Setup the Async DNS resolver */ + if(async_resolver_init() < 0) + { + rb_message(LOG_ERR, "couldn't initialize resolver"); + /* Allow things to proceed without resolver */ + } + /* Handle signals */ signal(SIGPIPE, SIG_IGN); signal(SIGHUP, SIG_IGN); -- cgit v1.2.3