ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/libopm/src/libopm.c
(Generate patch)

Comparing hopm/trunk/src/libopm/src/libopm.c (file contents):
Revision 5947 by michael, Thu May 7 18:59:02 2015 UTC vs.
Revision 5948 by michael, Fri May 8 20:23:23 2015 UTC

# Line 906 | Line 906 | libopm_do_connect(OPM_T * scanner, OPM_S
906  
907    bind_ip = (opm_sockaddr *)libopm_config(scanner->config, OPM_CONFIG_BIND_IP);
908  
909 <  conn->fd = socket(PF_INET, SOCK_STREAM, 0);
909 >  conn->fd = socket(AF_INET, SOCK_STREAM, 0);
910    scanner->fd_use++;  /* Increase file descriptor use */
911  
912    if (conn->fd == -1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines