/[monit]/monit/socket.c
ViewVC logotype

Diff of /monit/socket.c

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

revision 1.51 by hauk, Sun Oct 30 01:22:53 2005 UTC revision 1.52 by hauk, Mon Oct 31 14:05:54 2005 UTC
# Line 596  static int fill(Socket_T S) { Line 596  static int fill(Socket_T S) {
596    if(S->type==SOCK_DGRAM) timeout= 0;    if(S->type==SOCK_DGRAM) timeout= 0;
597        
598    /* Read as much as we can, but only block on the first read */    /* Read as much as we can, but only block on the first read */
599    while(TRUE) {    while(RBUFFER_SIZE > S->length) {
600            
601      if(S->ssl) {      if(S->ssl) {
602        n= recv_ssl_socket(S->ssl, &S->buffer[S->length],        n= recv_ssl_socket(S->ssl, &S->buffer[S->length],

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26