mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
Fix build breakage.
This commit is contained in:
parent
5103176d39
commit
60512ad3e8
@ -43,7 +43,7 @@ int overlay_mdp_setup_sockets()
|
||||
Apparently POSIX requires it to be at least 100, but I would still feel
|
||||
more comfortable with using the appropriate constant. */
|
||||
snprintf(&name.sun_path[1],100,
|
||||
confValueGet("mdp.socket",DEFAULT_MDP_SOCKET_NAME);
|
||||
confValueGet("mdp.socket",DEFAULT_MDP_SOCKET_NAME));
|
||||
len = 1+strlen(&name.sun_path[1]) + sizeof(name.sun_family);
|
||||
|
||||
mdp_abstract_socket = socket(AF_UNIX, SOCK_DGRAM, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user