version 1.1.2.16, 2011/12/12 09:24:25
|
version 1.1.2.17, 2011/12/13 10:12:36
|
Line 21 initSession(int sock, char * __restrict addr)
|
Line 21 initSession(int sock, char * __restrict addr)
|
} else |
} else |
memset(sess, 0, sizeof(struct tagSession)); |
memset(sess, 0, sizeof(struct tagSession)); |
|
|
str = cfg_GetAttribute(&cfg, CFG("mqttd"), CFG("retry")); | str = (const char*) cfg_GetAttribute(&cfg, CFG("mqttd"), CFG("retry")); |
if (!str) |
if (!str) |
sess->sess_retry = DEFAULT_RETRY; |
sess->sess_retry = DEFAULT_RETRY; |
else |
else |