summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-07-25 18:53:43 +0000
committerMiles Bader <miles@gnu.org>1995-07-25 18:53:43 +0000
commit02f33a5c89233931393b69093d43621e283702b1 (patch)
tree6de47a9feba632b4e1c33398f0637a71ce9a34f5
parent83f02afbe934189646e9cf41e3338321163cded7 (diff)
Formerly sock.c.~14~
-rw-r--r--pflocal/sock.c2
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;
}