X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FCommunicationPolicy.cc;h=aff4c6693d472a13cde39eda7b132008cb3efae4;hb=7182e19614d49557e1c9faccccd9641d6702cc96;hp=5e6e561a6c5cd9ad94e7256ef2ae506915d64933;hpb=31d85cd6b8e03c5ecc924ca8892906be1bab702f;p=senf.git diff --git a/Socket/CommunicationPolicy.cc b/Socket/CommunicationPolicy.cc index 5e6e561..aff4c66 100644 --- a/Socket/CommunicationPolicy.cc +++ b/Socket/CommunicationPolicy.cc @@ -1,9 +1,9 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Stefan Bund // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ #include #include #include -#include "Utils/Exception.hh" +#include "../Utils/Exception.hh" #include "ServerSocketHandle.hh" //#include "CommunicationPolicy.mpp" @@ -45,8 +45,8 @@ prefix_ void senf::ConnectedCommunicationPolicy::do_listen(FileHandle handle, } prefix_ int senf::ConnectedCommunicationPolicy::do_accept(FileHandle handle, - struct sockaddr * addr, - unsigned len) + struct sockaddr * addr, + unsigned len) { int rv = -1; do { @@ -58,7 +58,7 @@ prefix_ int senf::ConnectedCommunicationPolicy::do_accept(FileHandle handle, case EINTR: break; default: - throw SystemException(errno); + throw SystemException(); } } while (rv<0); return rv; @@ -76,4 +76,5 @@ prefix_ int senf::ConnectedCommunicationPolicy::do_accept(FileHandle handle, // indent-tabs-mode: nil // ispell-local-dictionary: "american" // compile-command: "scons -u test" +// comment-column: 40 // End: