Return to daemon.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / mqtt / src |
version 1.2.2.4, 2012/01/30 13:39:22 | version 1.2.2.5, 2012/04/11 15:08:27 |
---|---|
Line 31 initSession(int sock, ait_val_t * __restrict v) | Line 31 initSession(int sock, ait_val_t * __restrict v) |
TAILQ_INIT(&sess->sess_sndqueue); | TAILQ_INIT(&sess->sess_sndqueue); |
str = (const char*) cfg_GetAttribute(&cfg, CFG("mqttd"), CFG("retry")); | str = cfg_getAttribute(&cfg, "mqttd", "retry"); |
if (!str) | if (!str) |
sess->sess_retry = DEFAULT_RETRY; | sess->sess_retry = DEFAULT_RETRY; |
else | else |