diff options
author | Brendan Cully <brendan@kublai.com> | 2007-03-30 19:22:55 -0700 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2007-03-30 19:22:55 -0700 |
commit | a0777a629dcff241bbb05788fab76bbf3d01a253 (patch) | |
tree | 09cb442ad33fe0be9ac6903fb1be077a1674a552 /pop.c | |
parent | 7bfeb9fdd4ac3040c48b2ee334fbc3cd3c0060e7 (diff) |
Add function pointer for close hook in Context.
Slowly inch towards function pointers instead of switch statements.
Diffstat (limited to 'pop.c')
-rw-r--r-- | pop.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -372,6 +372,7 @@ int pop_open_mailbox (CONTEXT *ctx) pop_data = safe_calloc (1, sizeof (POP_DATA)); pop_data->conn = conn; ctx->data = pop_data; + ctx->mx_close = pop_close_mailbox; if (pop_open_connection (pop_data) < 0) return -1; |