X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=src%2Flimit-connect.cpp;h=ff9b09ecd51bb792182da758fc0a9830e1b93688;hp=12391db08cf6a76a0f93e0a0e4409a70dbb150d3;hb=9f2b5252885fdfbdae2c77f52ff3852ae0818111;hpb=22afe38a1f113ef7f2a46d1fde0141cf10b27eb4 diff --git a/src/limit-connect.cpp b/src/limit-connect.cpp index 12391db..ff9b09e 100644 --- a/src/limit-connect.cpp +++ b/src/limit-connect.cpp @@ -1,5 +1,5 @@ /* 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 @@ -24,11 +24,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA struct LimitConnect::Peer { friend class LimitConnect; - + Peer(int sz, const char *peername); ~Peer(); void add_connect(); - + char *m_peername; Yaz_bw m_bw; Peer *m_next; @@ -114,7 +114,9 @@ void LimitConnect::cleanup(bool all) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +