/* This file is part of YAZ proxy
- Copyright (C) 1998-2008 Index Data
+ Copyright (C) 1998-2011 Index Data
YAZ proxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
// 192.168.0.100
// 192.168.0.1-192.168.0.200
int status = YAZPROXY_RET_PERM;
- if (ip_file && peer_IP)
+ if (*ip_file && peer_IP)
{
yaz_log(YLOG_DEBUG, "Authentication: checking ip address");
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
+