Explorar el Código

Adjust fields in sockname_t

Bryan Drewery hace 10 años
padre
commit
2dec7f49e1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/socket.h

+ 1 - 1
src/socket.h

@@ -14,8 +14,8 @@ int get_addr(const char *, my_addr_t *);
 
 /* can be static if ever combined with net.h or a more integrated 1.9 is used ... */
 typedef struct {
-        int len;
         int family;
+        socklen_t len;
         union {
                 struct sockaddr addr;
                 struct sockaddr_in ipv4;