/[imapfilter]/imapfilter/request.c
ViewVC logotype

Diff of /imapfilter/request.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.32.2.6 by lefcha, Sat Nov 9 16:13:26 2002 UTC revision 1.32.2.7 by lefcha, Sun Feb 2 17:43:06 2003 UTC
# Line 537  int action_rcopy(char *mesgs, account_t Line 537  int action_rcopy(char *mesgs, account_t
537      /* apply_namespace() returns a pointer to a static buffer. */      /* apply_namespace() returns a pointer to a static buffer. */
538      ndm = apply_namespace(destmbox, nspaux.prefix, nspaux.delim);      ndm = apply_namespace(destmbox, nspaux.prefix, nspaux.delim);
539    
540      r = check_mailbox(&sockaux, ndm, &nspaux);      r = check_mailbox(&sockaux, destmbox, &nspaux);
541    
542      if (r == RESPONSE_OK)      if (r == RESPONSE_OK)
543          close_mailbox(&sockaux);          close_mailbox(&sockaux);
# Line 568  int action_rcopy(char *mesgs, account_t Line 568  int action_rcopy(char *mesgs, account_t
568          tf = imap_fetch(&sockpri, tok, "BODY[TEXT]");          tf = imap_fetch(&sockpri, tok, "BODY[TEXT]");
569          do {          do {
570              r = fetch_response(&sockpri, tf, 0, buf);              r = fetch_response(&sockpri, tf, 0, buf);
571              if (r != -3)              if (r != RESPONSE_NULLBODY)
572                  socket_write(&sockaux, buf);                  socket_write(&sockaux, buf);
573          } while (r == RESPONSE_NONE);          } while (r == RESPONSE_NONE);
574    
575          if (r != -3)          if (r != RESPONSE_NULLBODY)
576              socket_write(&sockaux, "\r\n\r\n");              socket_write(&sockaux, "\r\n\r\n");
577          else          else
578              socket_write(&sockaux, "\r\n");              socket_write(&sockaux, "\r\n");

Legend:
Removed from v.1.32.2.6  
changed lines
  Added in v.1.32.2.7

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26