aboutsummaryrefslogtreecommitdiff
path: root/net-im/ayttm
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-im/ayttm
parent4c1b60ecfd25221f8d43324bd0ac06727861b4df (diff)
downloadports-1ed7c2b7a6ae09cc70c48c9553ccfb52746116ca.tar.gz
ports-1ed7c2b7a6ae09cc70c48c9553ccfb52746116ca.zip
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-im/ayttm')
-rw-r--r--net-im/ayttm/files/patch-ah11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/ayttm/files/patch-ah b/net-im/ayttm/files/patch-ah
new file mode 100644
index 000000000000..57205cc21182
--- /dev/null
+++ b/net-im/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");