diff --git a/sock.h b/sock.h index 8fa4d05..599d764 100644 --- a/sock.h +++ b/sock.h @@ -214,10 +214,10 @@ typedef enum { } SockType; typedef struct { - SockType type; // Socket type - SockAddr addr; // Socket address - int fd; // File descriptor - int last_errno; // Last error about this socket + SockType type; // Socket type + SockAddr addr; // Socket address + int fd; // File descriptor + int last_errno; // Last error about this socket } Sock; typedef void (*SockThreadCallback)(Sock *sock, void *user_data);