--- mqtt/src/utils.c 2012/06/29 08:47:28 1.2.2.5 +++ mqtt/src/utils.c 2012/07/02 12:52:19 1.2.2.7 @@ -1,5 +1,6 @@ #include "global.h" #include "mqttd.h" +#include "mqttd_calls.h" inline int @@ -31,6 +32,7 @@ srv_Socket(cfg_root_t * __restrict cfg) return -1; } + ioDEBUG(7, "Created socket=%d\n", s); return s; } @@ -39,5 +41,6 @@ srv_Close(int s) { ioTRACE(2); + ioDEBUG(7, "Closing socket=%d\n", s); return mqtt_srv_Destroy(s); }