diff options
author | jim <jim@FreeBSD.org> | 2001-01-31 00:06:14 +0800 |
---|---|---|
committer | jim <jim@FreeBSD.org> | 2001-01-31 00:06:14 +0800 |
commit | 1193fbd89a2dcd3ab070f4dc8eb13eef8d1b3d88 (patch) | |
tree | 4acb8c355da18a86652aa48edbd15a357e267c9f /net-im/ayttm | |
parent | 09c3a1b8f589f74485e619c8230483bfede0695b (diff) | |
download | freebsd-ports-gnome-1193fbd89a2dcd3ab070f4dc8eb13eef8d1b3d88.tar.gz freebsd-ports-gnome-1193fbd89a2dcd3ab070f4dc8eb13eef8d1b3d88.tar.zst freebsd-ports-gnome-1193fbd89a2dcd3ab070f4dc8eb13eef8d1b3d88.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>
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"); |