X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Flib%2Faddress_conf.c;h=e9f8bfbd486e10f57b3a2e3a032cb1e0c2a7f620;hb=5450f5e38d6dd94600c7c35fedf7f9ccea3e7adb;hp=678056c6982aea79ff7c7955ced743bde04bbc8d;hpb=6067011f47ec083e9c57ba05d9fe0abf3bb181d8;p=bacula%2Fbacula diff --git a/bacula/src/lib/address_conf.c b/bacula/src/lib/address_conf.c index 678056c698..e9f8bfbd48 100644 --- a/bacula/src/lib/address_conf.c +++ b/bacula/src/lib/address_conf.c @@ -1,14 +1,14 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2004-2007 Free Software Foundation Europe e.V. + Copyright (C) 2004-2009 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. This program is Free Software; you can redistribute it and/or modify it under the terms of version two of the GNU General Public - License as published by the Free Software Foundation plus additions - that are listed in the file LICENSE. + License as published by the Free Software Foundation and included + in the file LICENSE. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Bacula® is a registered trademark ofJohn Walker. + Bacula® is a registered trademark of Kern Sibbald. The licensor of Bacula is the Free Software Foundation Europe (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich, Switzerland, email:ftf@fsfeurope.org. @@ -39,7 +39,7 @@ #include #endif #ifdef HAVE_RESOLV_H -#include +//#include #endif static int add_address(dlist **out, IPADDR::i_type type, unsigned short defaultport, int family, @@ -59,7 +59,7 @@ IPADDR::IPADDR(const IPADDR &src) : type(src.type) IPADDR::IPADDR(int af) : type(R_EMPTY) { #ifdef HAVE_IPV6 - if (!(af == AF_INET6 || af == AF_INET)) { + if (!(af == AF_INET6 || af == AF_INET)) { Emsg1(M_ERROR_TERM, 0, _("Only ipv4 and ipv6 are supported (%d)\n"), af); } #else