Bugfixes.
* imap4d/append.c: Don't reuse msg variable. * po/POTFILES.in: Remove unneeded file.
Showing
2 changed files
with
4 additions
and
3 deletions
... | @@ -174,9 +174,11 @@ imap4d_append0 (mu_mailbox_t mbox, int flags, char *date_time, char *text, | ... | @@ -174,9 +174,11 @@ imap4d_append0 (mu_mailbox_t mbox, int flags, char *date_time, char *text, |
174 | { | 174 | { |
175 | size_t num = 0; | 175 | size_t num = 0; |
176 | mu_attribute_t attr = NULL; | 176 | mu_attribute_t attr = NULL; |
177 | mu_message_t temp; | ||
178 | |||
177 | mu_mailbox_messages_count (mbox, &num); | 179 | mu_mailbox_messages_count (mbox, &num); |
178 | mu_mailbox_get_message (mbox, num, &msg); | 180 | mu_mailbox_get_message (mbox, num, &temp); |
179 | mu_message_get_attribute (msg, &attr); | 181 | mu_message_get_attribute (temp, &attr); |
180 | mu_attribute_set_flags (attr, flags); | 182 | mu_attribute_set_flags (attr, flags); |
181 | } | 183 | } |
182 | /* FIXME: If not INBOX */ | 184 | /* FIXME: If not INBOX */ | ... | ... |
... | @@ -133,7 +133,6 @@ libmailutils/stream/logstream.c | ... | @@ -133,7 +133,6 @@ libmailutils/stream/logstream.c |
133 | libmailutils/server/ipsrv.c | 133 | libmailutils/server/ipsrv.c |
134 | libmailutils/server/msrv.c | 134 | libmailutils/server/msrv.c |
135 | 135 | ||
136 | libmailutils/mailbox/message.c | ||
137 | libmailutils/mailbox/mbx_default.c | 136 | libmailutils/mailbox/mbx_default.c |
138 | libmailutils/mailer/mailer.c | 137 | libmailutils/mailer/mailer.c |
139 | 138 | ... | ... |
-
Please register or sign in to post a comment