-/*] 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
{
}
}
}
- 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
{
}
}
}
- catch (...) {}
+ catch (...)
+ {
+ }
return -1;
}