version 1.1.2.24, 2011/12/16 12:16:17
|
version 1.1.2.25, 2011/12/16 12:22:26
|
Line 162 startSession(sched_task_t *task)
|
Line 162 startSession(sched_task_t *task)
|
ioDEBUG(2, "Old session %s should be disconnect!", sess->sess_cid); |
ioDEBUG(2, "Old session %s should be disconnect!", sess->sess_cid); |
TAILQ_FOREACH(s, &Sessions, sess_node) |
TAILQ_FOREACH(s, &Sessions, sess_node) |
if (!strcmp(s->sess_cid, sess->sess_cid)) { |
if (!strcmp(s->sess_cid, sess->sess_cid)) { |
|
/* found stale session & disconnect it! */ |
stopSession(s); |
stopSession(s); |
break; |
break; |
} |
} |