diff options
author | Jim Mock <jim@FreeBSD.org> | 2001-01-30 16:06:14 +0000 |
---|---|---|
committer | Jim Mock <jim@FreeBSD.org> | 2001-01-30 16:06:14 +0000 |
commit | 1ed7c2b7a6ae09cc70c48c9553ccfb52746116ca (patch) | |
tree | 5af2b0b0c36c0871da62c659d54def86e5ad6832 /net-im/ayttm | |
parent | bump 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-im/ayttm')
-rw-r--r-- | net-im/ayttm/files/patch-ah | 11 |
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"); |