blob: b0f8bb0aa727525097c0dbaac007bab285c29ce0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- gnuserv.c~ Thu Jan 25 13:41:48 2001
+++ gnuserv.c Sat Feb 10 18:00:44 2001
@@ -790,7 +790,7 @@
+ strlen (server.sun_path) + 1);
server.sun_len = bindlen;
#else
- bindlen = strlen (server.sun_path) + sizeof (server.sun_family);
+ bindlen = strlen (server.sun_path) + 1 + sizeof (server.sun_family);
#endif
if (bind(ls,(struct sockaddr *)&server,bindlen) < 0)
|