diff -c -w -r1.23.2.38 ftpget.c *** ftpget.c 1996/05/24 16:03:13 1.23.2.38 --- ftpget.c 1996/05/24 18:13:45 *************** *** 2278,2284 **** S2.sun_family = AF_UNIX; strcpy(S2.sun_path, arg); Debug(26, 1, ("Binding to UNIX socket '%s'\n", S2.sun_path)); ! i = strlen(S2.sun_path) + sizeof(S2.sun_family); if (bind(sock, (struct sockaddr *) &S2, i) < 0) { log_errno2(__FILE__, __LINE__, "bind"); sleep(5); /* sleep here so that the cache will restart us */ --- 2278,2284 ---- S2.sun_family = AF_UNIX; strcpy(S2.sun_path, arg); Debug(26, 1, ("Binding to UNIX socket '%s'\n", S2.sun_path)); ! i = strlen(S2.sun_path) + 1 + sizeof(S2.sun_family); if (bind(sock, (struct sockaddr *) &S2, i) < 0) { log_errno2(__FILE__, __LINE__, "bind"); sleep(5); /* sleep here so that the cache will restart us */