Fix formatting
This commit is contained in:
8
sock.h
8
sock.h
@@ -214,10 +214,10 @@ typedef enum {
|
|||||||
} SockType;
|
} SockType;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
SockType type; // Socket type
|
SockType type; // Socket type
|
||||||
SockAddr addr; // Socket address
|
SockAddr addr; // Socket address
|
||||||
int fd; // File descriptor
|
int fd; // File descriptor
|
||||||
int last_errno; // Last error about this socket
|
int last_errno; // Last error about this socket
|
||||||
} Sock;
|
} Sock;
|
||||||
|
|
||||||
typedef void (*SockThreadCallback)(Sock *sock, void *user_data);
|
typedef void (*SockThreadCallback)(Sock *sock, void *user_data);
|
||||||
|
|||||||
Reference in New Issue
Block a user