mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
1ed7c2b7a6
wouldn't run more than once. PR: 24724 Submitted by: Vivek Khera <khera@kciLink.com>
12 lines
397 B
Plaintext
12 lines
397 B
Plaintext
--- src/#main.c~ Mon Jan 29 14:49:29 2001
|
|
+++ src/main.c Mon Jan 29 14:49:29 2001
|
|
@@ -279,7 +279,7 @@
|
|
strcat(local.sun_path, "eb_socket");
|
|
unlink(local.sun_path);
|
|
local.sun_family = AF_UNIX;
|
|
- len = strlen(local.sun_path) + sizeof(local.sun_family);
|
|
+ len = strlen(local.sun_path) + 1 + sizeof(local.sun_family);
|
|
if(bind(sock, (struct sockaddr *)&local, len) == -1)
|
|
{
|
|
perror("bind");
|