X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;ds=sidebyside;f=src%2Fhttp.c;h=40ffbec4e41dab116284fb2a593f18f1e11366c7;hb=315af5c601a268e2d0da60477c3470a6c12654c9;hp=f4aa55d0925af6ce81af5244b8fb3ba51b61b62a;hpb=197410f262777b4955b23be723afe80d5f63cf77;p=pazpar2-moved-to-github.git diff --git a/src/http.c b/src/http.c index f4aa55d..40ffbec 100644 --- a/src/http.c +++ b/src/http.c @@ -1,4 +1,4 @@ -/* $Id: http.c,v 1.28 2007-04-19 16:07:20 adam Exp $ +/* $Id: http.c,v 1.29 2007-04-23 08:15:22 marc Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -1004,10 +1004,7 @@ void http_init(const char *addr) strncpy(hostname, addr, len); hostname[len] = '\0'; if (!(he = gethostbyname(hostname))) - { yaz_log(YLOG_FATAL, "Unable to resolve '%s'", hostname); - exit(1); - } memcpy(&myaddr.sin_addr.s_addr, he->h_addr_list[0], he->h_length); port = atoi(pp + 1);