Fixed bug #31385: sizeof(struct sockaddr) is 30 but should be 16

This commit is contained in:
goldsimon
2010-10-20 17:58:52 +00:00
parent 93dc36e091
commit 704d90f693
2 changed files with 4 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ struct sockaddr_in {
struct sockaddr {
u8_t sa_len;
u8_t sa_family;
u16_t sa_data[14];
char sa_data[14];
};
#ifndef socklen_t