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

Diff of /imapfilter/socket.c

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

revision 1.15 by lefcha, Mon Jan 14 18:14:33 2002 UTC revision 1.16 by lefcha, Thu Jan 31 17:08:13 2002 UTC
# Line 172  int close_connection(void) Line 172  int close_connection(void)
172      }      }
173  #endif  #endif
174    
175      if (close(sock)) {      if (sock >= 0 && close(sock)) {
176          error("imapfilter: closing socket; %s\n", strerror(errno));          error("imapfilter: closing socket; %s\n", strerror(errno));
177          return ERROR_NETWORK;          return ERROR_NETWORK;
178      } else      } else {
179            sock = -1;
180          return 0;          return 0;
181        }
182  }  }
183    
184    

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26