From 1193fbd89a2dcd3ab070f4dc8eb13eef8d1b3d88 Mon Sep 17 00:00:00 2001 From: jim Date: Tue, 30 Jan 2001 16:06:14 +0000 Subject: Fix a problem where the socket wasn't being removed and everybuddy wouldn't run more than once. PR: 24724 Submitted by: Vivek Khera --- net-im/ayttm/files/patch-ah | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net-im/ayttm/files/patch-ah (limited to 'net-im') diff --git a/net-im/ayttm/files/patch-ah b/net-im/ayttm/files/patch-ah new file mode 100644 index 0000000..57205cc --- /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"); -- cgit v1.1