Commit 393014be 393014bea904a6d9e258564456831667e196390b by Sergey Poznyakoff

(imap4d_select0): Call imap4d_set_observer()

1 parent bed36ed4
1 /* GNU Mailutils -- a suite of utilities for electronic mail 1 /* GNU Mailutils -- a suite of utilities for electronic mail
2 Copyright (C) 1999, 2001 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2001, 2003, 2005 Free Software Foundation, Inc.
3 3
4 GNU Mailutils is free software; you can redistribute it and/or modify 4 GNU Mailutils is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
...@@ -64,6 +64,9 @@ imap4d_select0 (struct imap4d_command *command, char *arg, int flags) ...@@ -64,6 +64,9 @@ imap4d_select0 (struct imap4d_command *command, char *arg, int flags)
64 { 64 {
65 select_flags = flags; 65 select_flags = flags;
66 state = STATE_SEL; 66 state = STATE_SEL;
67
68 imap4d_set_observer (mbox);
69
67 if ((status = imap4d_select_status ()) == 0) 70 if ((status = imap4d_select_status ()) == 0)
68 { 71 {
69 free (mailbox_name); 72 free (mailbox_name);
......