]> Dogcows Code - chaz/yoink/blobdiff - src/moof/service.cc
remove some unused stlplus modules
[chaz/yoink] / src / moof / service.cc
index 869b541344f4e9e79b6b36a3a8b1499a6a06af31..c96f81fa2e258ea7dbf552ea4e605965b51360ec 100644 (file)
@@ -1,28 +1,24 @@
 
-/*]  Copyright (c) 2009-2010, Charles McGarvey  [**************************
+/*]  Copyright (c) 2009-2011, Charles McGarvey  [*****************************
 **]  All rights reserved.
 *
-* vi:ts=4 sw=4 tw=75
-*
 * Distributable under the terms and conditions of the 2-clause BSD license;
 * see the file COPYING for a complete text of the license.
 *
-**************************************************************************/
+*****************************************************************************/
 
 #include "service.hh"
 #include "socket.hh"
 
-
-#define SOLICIT  0x1234ABCD
-#define RESPONSE 0xABCD1234
+#define SOLICIT                0x1234ABCD
+#define RESPONSE       0xABCD1234
 
 
 namespace moof {
 
 
 int service::handle_packet(socket_multiplexer& mux,
-                                                  packet& packet,
-                                                  const socket::address& address)
+               packet& packet, const socket::address& address)
 {
        try
        {
@@ -41,13 +37,14 @@ int service::handle_packet(socket_multiplexer& mux,
                        }
                }
        }
-       catch (...) {}
+       catch (...)
+       {
+       }
        return -1;
 }
 
 int service_finder::handle_packet(socket_multiplexer& mux,
-                                                                 packet& packet,
-                                                                 const socket::address& address)
+               packet& packet, const socket::address& address)
 {
        try
        {
@@ -68,7 +65,9 @@ int service_finder::handle_packet(socket_multiplexer& mux,
                        }
                }
        }
-       catch (...) {}
+       catch (...)
+       {
+       }
        return -1;
 }
 
This page took 0.020235 seconds and 4 git commands to generate.