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

Diff of /imapfilter/request.c

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

revision 1.23 by lefcha, Mon Jul 8 17:59:57 2002 UTC revision 1.24 by lefcha, Tue Jul 9 20:17:45 2002 UTC
# Line 544  int action_rcopy(char *mesgs, account_t Line 544  int action_rcopy(char *mesgs, account_t
544                    
545          t = imap_append(&sockaux, ndm, n);          t = imap_append(&sockaux, ndm, n);
546    
547            fetch_response(&sockpri, 1, NULL, 0);
548          do {          do {
549              r = fetch_response(&sockpri, 0, buf, imap_fetch(&sockpri, tok,              r = fetch_response(&sockpri, 0, buf, imap_fetch(&sockpri, tok,
550                                                              "RFC822.HEADER"));                                                              "RFC822.HEADER"));
551    
552              socket_write(&sockaux, buf);              socket_write(&sockaux, buf);
553          } while (r == RESPONSE_NONE);          } while (r == RESPONSE_NONE);
554                    
# Line 560  int action_rcopy(char *mesgs, account_t Line 561  int action_rcopy(char *mesgs, account_t
561                            
562              socket_write(&sockaux, buf);              socket_write(&sockaux, buf);
563          } while (r == RESPONSE_NONE);          } while (r == RESPONSE_NONE);
564            
565            socket_write(&sockaux, "\r\n\r\n");
566            
567            append_response(&sockaux, t);
568      }      }
569    
     socket_write(&sockaux, "\r\n\r\n");  
   
     append_response(&sockaux, t);  
   
570      logout(&sockaux);      logout(&sockaux);
571            
572      action_list(mesgs, args);      action_list(mesgs, args);

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26