aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-09 12:31:29 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-09 12:31:29 -0700
commit45fa7ca807876c6e05a9c6bbf9a51c3a73aea1d0 (patch)
tree0f2a588f00653f9cd802b0d7fc91e21c70d251b8
parentde294ed89b3ad8ae486b5089420182d60a8c06db (diff)
fix sockaddr sa_data; fixes #1272
-rw-r--r--system/include/sys/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/sys/socket.h b/system/include/sys/socket.h
index 56a37375..b83ce89a 100644
--- a/system/include/sys/socket.h
+++ b/system/include/sys/socket.h
@@ -44,7 +44,7 @@ typedef unsigned int sa_family_t;
struct sockaddr {
sa_family_t sa_family;
- char sa_data[];
+ char sa_data[16];
};
struct sockaddr_storage {