summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2014-08-27 16:21:01 +0500
committerSunil Nimmagadda <sunil@nimmagadda.net>2014-08-27 16:21:01 +0500
commitf0d8c76d03b56783c0e71bb564baf3de1af21577 (patch)
tree3a963d3aa088392df85c702d084ac412a3570c37
parentbf0ea9ea9efb05be1e6cbb23574b001fd0372b79 (diff)
No use of iev->data, set it to NULL.
-rw-r--r--session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/session.c b/session.c
index da90c78..e30f50c 100644
--- a/session.c
+++ b/session.c
@@ -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