From f93d1355dd915fd5c197293ba0e62292ec15cb2d Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:55:19 +0000 Subject: Reorderd error handling Author: jgg Date: 1999-12-09 03:45:56 GMT Reorderd error handling --- methods/rfc2553emu.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'methods/rfc2553emu.cc') diff --git a/methods/rfc2553emu.cc b/methods/rfc2553emu.cc index bd8d2236f..e363c68e2 100644 --- a/methods/rfc2553emu.cc +++ b/methods/rfc2553emu.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: rfc2553emu.cc,v 1.3 1999/05/27 05:51:18 jgg Exp $ +// $Id: rfc2553emu.cc,v 1.4 1999/12/09 03:45:56 jgg Exp $ /* ###################################################################### RFC 2553 Emulation - Provides emulation for RFC 2553 getaddrinfo, @@ -57,7 +57,7 @@ int getaddrinfo(const char *nodename, const char *servname, Proto = hints->ai_socktype; // Not a number, must be a name. - if (End != servname + strlen(End)) + if (End != servname + strlen(servname)) { struct servent *Srv = 0; -- cgit v1.2.3