/[jscoverage]/trunk/http-connection.c
ViewVC logotype

Diff of /trunk/http-connection.c

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

revision 116 by siliconforks, Sat May 31 21:42:36 2008 UTC revision 125 by siliconforks, Mon Jun 2 17:52:38 2008 UTC
# Line 25  Line 25 
25  #include <errno.h>  #include <errno.h>
26  #include <string.h>  #include <string.h>
27    
 #include <arpa/inet.h>  
   
28  #include "util.h"  #include "util.h"
29    
30  #define CONNECTION_BUFFER_CAPACITY 8192  #define CONNECTION_BUFFER_CAPACITY 8192
# Line 61  Line 59 
59    }    }
60    
61    SOCKET s = socket(PF_INET, SOCK_STREAM, 0);    SOCKET s = socket(PF_INET, SOCK_STREAM, 0);
62    if (s < 0) {    if (s == INVALID_SOCKET) {
63      return NULL;      return NULL;
64    }    }
65    

Legend:
Removed from v.116  
changed lines
  Added in v.125

  ViewVC Help
Powered by ViewVC 1.1.24