Our sockaddr_storage is only 128 bytes long. Hence invocations of bind()
or connect() that passed sizeof(sockaddr_un) would always fail. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25138 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
struct sockaddr_un {
|
struct sockaddr_un {
|
||||||
uint8_t sun_len;
|
uint8_t sun_len;
|
||||||
uint8_t sun_family;
|
uint8_t sun_family;
|
||||||
char sun_path[128];
|
char sun_path[126];
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* _SYS_UN_H */
|
#endif /* _SYS_UN_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user