session: Simplefy session_changed()
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 20 Sep 2011 15:05:32 +0000 (17:05 +0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Thu, 22 Sep 2011 13:45:50 +0000 (15:45 +0200)
commiteb3b4bfdf3592d4f7d5236fe3ad96896e9bad47d
treea411337908c6acdbff2e15032c6d573066832dc1
parent1d234b13539c4fe5dc51e3f89ca3ab1ced41f720
session: Simplefy session_changed()

Since we are tracking the reason code now also in
the deslect_and_disconnect() function we can rely
on the correct handling there. Also no need to parse the
reason code again.
src/session.c