~ubuntu-branches/ubuntu/trusty/proftpd-dfsg/trusty

« back to all changes in this revision

Viewing changes to src/netaddr.c

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-10-06 12:57:29 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20111006125729-wiq6d3yzf2ensafj
Tags: 1.3.4~rc3-1
* New upstream pre-release.
* Refreshed all patches.
* Changed patch xferstats.holger-preiss to fix a few warnings and use
  Getopt::Std instead of the old getopts.pl which will be removed soon or
  later in perl5. Thanks lintian.
* Policy bumped to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 *
15
15
 * You should have received a copy of the GNU General Public License
16
16
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
 
17
 * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
18
18
 *
19
19
 * As a special exemption, The ProFTPD Project team and other respective
20
20
 * copyright holders give permission to link this program with OpenSSL, and
23
23
 */
24
24
 
25
25
/* Network address routines
26
 
 * $Id: netaddr.c,v 1.77 2011/03/17 17:35:49 castaglia Exp $
 
26
 * $Id: netaddr.c,v 1.79 2011/05/23 21:22:24 castaglia Exp $
27
27
 */
28
28
 
29
29
#include "conf.h"
644
644
       * do it this way.)
645
645
       */
646
646
 
647
 
      gai_res = 0;
648
 
 
649
647
      memset(&hints, 0, sizeof(hints));
650
648
 
651
649
      hints.ai_family = AF_INET6;