Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion mod_notionflux/mod_notionflux.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* mod_notionflux/mod_notionflux/mod_notionflux.c
*
* Copyright (c) Tuomo Valkonen 2004-2005.
* Copyright (c) The Notion development team 2019
* Copyright (c) The Notion development team 2019-2023
*
* This is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by
Expand Down Expand Up @@ -328,8 +328,10 @@ static bool start_listening()
if(listenfd<0)
goto errwarn;

#ifndef __FreeBSD__
if(fchmod(listenfd, S_IRUSR|S_IWUSR)<0)
goto errwarn;
#endif

addr.sun_family=AF_UNIX;

Expand Down