X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketHandle.cci;h=ec22ca325dc05341b1fd85e91837e1a8a389319e;hb=532240d72e09e19e57fac9bb55c2560b9c9e5b97;hp=896d13af0274659928e2a31503e16fd9ecc76c94;hpb=6f50bf49e282c0528f51faa0a245bbfa2b867399;p=senf.git diff --git a/Socket/SocketHandle.cci b/Socket/SocketHandle.cci index 896d13a..ec22ca3 100644 --- a/Socket/SocketHandle.cci +++ b/Socket/SocketHandle.cci @@ -1,8 +1,8 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// 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 @@ -43,14 +43,9 @@ prefix_ senf::SocketBody::SocketBody(bool isServer, int fd) {} prefix_ senf::SocketProtocol & senf::SocketBody::protocol() -{ - return const_cast(v_protocol()); -} - -prefix_ senf::SocketProtocol const & senf::SocketBody::protocol() const { - return v_protocol(); + return const_cast(v_protocol()); } prefix_ bool senf::SocketBody::isServer()