Commit 9cf47fb2 9cf47fb2b45e91177459d81f40a184265033752f by Sergey Poznyakoff

inc: bugfix

* mh/inc.c (incmbx): Fix typos.
1 parent 2cf5e6f5
Showing 1 changed file with 3 additions and 3 deletions
...@@ -268,7 +268,7 @@ incmbx (void *item, void *data) ...@@ -268,7 +268,7 @@ incmbx (void *item, void *data)
268 if (getparam (url, "nomoveto", NULL) == 0) 268 if (getparam (url, "nomoveto", NULL) == 0)
269 f_move_to_mailbox = NULL; 269 f_move_to_mailbox = NULL;
270 else 270 else
271 getparam (url, "nomoveto", &f_move_to_mailbox); 271 getparam (url, "moveto", &f_move_to_mailbox);
272 272
273 /* Open audit file, if specified */ 273 /* Open audit file, if specified */
274 if (audit_file) 274 if (audit_file)
...@@ -331,12 +331,12 @@ incmbx (void *item, void *data) ...@@ -331,12 +331,12 @@ incmbx (void *item, void *data)
331 NULL, rc); 331 NULL, rc);
332 else 332 else
333 { 333 {
334 rc = mu_mailbox_msgset_copy (input, msgset, move_to_mailbox, 334 rc = mu_mailbox_msgset_copy (input, msgset, f_move_to_mailbox,
335 MU_MAILBOX_COPY_CREAT); 335 MU_MAILBOX_COPY_CREAT);
336 if (rc) 336 if (rc)
337 { 337 {
338 mu_error (_("failed to move messages to %s: %s"), 338 mu_error (_("failed to move messages to %s: %s"),
339 move_to_mailbox, mu_strerror (rc)); 339 f_move_to_mailbox, mu_strerror (rc));
340 f_truncate = 0; 340 f_truncate = 0;
341 } 341 }
342 } 342 }
......