forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"sizeof(sun->sun_path)" is not always the same as "sizeof(addr->u.soc…
…kname)" on all platforms; because of that BUILD_ASSERT was failing on macOS. (on macOS "sizeof(sun->sun_path) == 104" and "sizeof(addr->u.sockname) == 108") [ Linux man page says it can be as small as 92, so let's use the real value. I also cleaned up the incorrect comment order on that struct! --RR ] Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
c33bbb2
commit 855d0b9
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters