notify: clean up process_incoming_notify()
commit69df91fa6e16464dd181ec3ff2f1a946ca5e1a24
authorStefan Becker <chemobejk@gmail.com>
Tue, 9 Apr 2013 05:56:55 +0000 (9 08:56 +0300)
committerStefan Becker <chemobejk@gmail.com>
Tue, 9 Apr 2013 05:56:55 +0000 (9 08:56 +0300)
tree3ce28ebf3fb3144cd338792a81ab8f97ac9bf6e8
parent20fe916184db8b163147bc4b016d7353a48b5f5c
notify: clean up process_incoming_notify()

- merge the separate if-conditionals, because they are mutually
  exclusive. I.e. less unnecessary code traversal
- event subscription termiation is a dead code path for server requests.
  Internalize the code to sipe-subscriptions.c.
src/core/sip-transport.c
src/core/sipe-notify.c
src/core/sipe-notify.h
src/core/sipe-subscriptions.c
src/core/sipe-subscriptions.h