summaryrefslogtreecommitdiff
path: root/net/ayttm/files/patch-ah
blob: 57205cc21182a6b5aa92aba53aa7bd3c13df925d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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");