--- mqtt/src/utils.c 2013/01/18 10:17:22 1.4.4.1 +++ mqtt/src/utils.c 2013/07/19 09:11:48 1.4.4.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: utils.c,v 1.4.4.1 2013/01/18 10:17:22 misho Exp $ +* $Id: utils.c,v 1.4.4.3 2013/07/19 09:11:48 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -48,7 +48,7 @@ SUCH DAMAGE. #include "mqttd_calls.h" -inline int +int srv_Socket(cfg_root_t * __restrict cfg) { int s = -1; @@ -56,7 +56,7 @@ srv_Socket(cfg_root_t * __restrict cfg) u_short port; sockaddr_t sa = {{ 0 }}; - ETRACE(2); + ETRACE(); assert(cfg); @@ -81,10 +81,10 @@ srv_Socket(cfg_root_t * __restrict cfg) return s; } -inline int +int srv_Close(int s) { - ETRACE(2); + ETRACE(); EVERBOSE(7, "Closing socket=%d\n", s); return mqtt_srv_Destroy(s);