Libev Migration; fix aborting on connection establishing problems
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 15 Jan 2011 15:18:10 +0000 (16:18 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 15 Jan 2011 15:18:10 +0000 (16:18 +0100)
commit6dff20bfbfea2067b7d4a324171a9534ef9778af
tree5233a86871ff16d4a0aad18c1984be9e663f1e6d
parentca5ae83cef63ed80a8d8f553abc88d165c1e6c93
Libev Migration; fix aborting on connection establishing problems

  - libev doesn't care whether a watcher is already registered or not, we don't need to remember which to stop and which not.
  - cast to the right structure while aborting
  - put timeout callback in
  - register timeout callback
  - close our socket in the right place.
citadel/event_client.c
citadel/event_client.h
citadel/modules/smtp/serv_smtpeventclient.c