summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2001-01-30 16:06:14 +0000
committerJim Mock <jim@FreeBSD.org>2001-01-30 16:06:14 +0000
commit1ed7c2b7a6ae09cc70c48c9553ccfb52746116ca (patch)
tree5af2b0b0c36c0871da62c659d54def86e5ad6832 /net
parentbump portversion (diff)
Fix a problem where the socket wasn't being removed and everybuddy
wouldn't run more than once. PR: 24724 Submitted by: Vivek Khera <khera@kciLink.com>
Notes
Notes: svn path=/head/; revision=37803
Diffstat (limited to 'net')
-rw-r--r--net/ayttm/files/patch-ah11
-rw-r--r--net/everybuddy/files/patch-ah11
2 files changed, 22 insertions, 0 deletions
diff --git a/net/ayttm/files/patch-ah b/net/ayttm/files/patch-ah
new file mode 100644
index 000000000000..57205cc21182
--- /dev/null
+++ b/net/ayttm/files/patch-ah
@@ -0,0 +1,11 @@
+--- 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");
diff --git a/net/everybuddy/files/patch-ah b/net/everybuddy/files/patch-ah
new file mode 100644
index 000000000000..57205cc21182
--- /dev/null
+++ b/net/everybuddy/files/patch-ah
@@ -0,0 +1,11 @@
+--- 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");