-/* $Id: http.c,v 1.28 2007-04-19 16:07:20 adam Exp $
+/* $Id: http.c,v 1.30 2007-04-23 08:56:52 marc Exp $
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
strncpy(hostname, addr, len);
hostname[len] = '\0';
- if (!(he = gethostbyname(hostname)))
- {
+ if (!(he = gethostbyname(hostname))){
yaz_log(YLOG_FATAL, "Unable to resolve '%s'", hostname);
exit(1);
}