diff options
Diffstat (limited to 'pflocal')
-rw-r--r-- | pflocal/sock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pflocal/sock.c b/pflocal/sock.c index d8209c43..a9ba23d6 100644 --- a/pflocal/sock.c +++ b/pflocal/sock.c @@ -288,6 +288,8 @@ addr_create (struct addr **addr) ensure_sock_server (); (*addr)->sock = NULL; + mutex_init (&(*addr)->lock); + return 0; } |