diff options
author | Sunil Nimmagadda <sunil@nimmagadda.net> | 2014-08-27 16:21:01 +0500 |
---|---|---|
committer | Sunil Nimmagadda <sunil@nimmagadda.net> | 2014-08-27 16:21:01 +0500 |
commit | f0d8c76d03b56783c0e71bb564baf3de1af21577 (patch) | |
tree | 3a963d3aa088392df85c702d084ac412a3570c37 | |
parent | bf0ea9ea9efb05be1e6cbb23574b001fd0372b79 (diff) |
No use of iev->data, set it to NULL.
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -133,7 +133,7 @@ session_close(struct session *s, int flush) entry = SPLAY_REMOVE(session_tree, &sessions, s); if (entry == NULL) { - /* STARTTLS session was in progress and got interrupted */ + /* STARTTLS session was in progress and got interrupted */ logit(LOG_DEBUG, "%u: not in tree", s->id); entry = s; } @@ -436,7 +436,7 @@ get_list(struct session *s, unsigned int i, int uidl) void session_imsgev_init(struct session *s, int fd) { - imsgev_init(&s->iev_maildrop, fd, s, maildrop_imsgev, needfd); + imsgev_init(&s->iev_maildrop, fd, NULL, maildrop_imsgev, needfd); } static void |