Changeset 3697

Show
Ignore:
Timestamp:
06/06/08 10:36:39
Author:
pvanhoof
Message:

Bugfix for rob

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libtinymail-camel/camel-lite/camel/camel-tcp-stream-openssl.c

    r3678 r3697  
    618618                fd_set rdset, wrset; 
    619619 
    620                 /* Write in chunks of max WRITE_CHUNK_SIZE bytes */ 
    621                 ssize_t actual = MIN (n - written, WRITE_CHUNK_SIZE); 
    622  
    623620                flags = fcntl (openssl->priv->sockfd, F_GETFL); 
    624621                fcntl (openssl->priv->sockfd, F_SETFL, flags | O_NONBLOCK); 
     
    626623                fdmax = MAX (openssl->priv->sockfd, cancel_fd) + 1; 
    627624                do { 
     625                        /* Write in chunks of max WRITE_CHUNK_SIZE bytes */ 
     626                        ssize_t actual = MIN (n - written, WRITE_CHUNK_SIZE); 
     627 
    628628                        FD_ZERO (&rdset); 
    629629                        FD_ZERO (&wrset);