Jelajahi Sumber

totemudpu: Pass correct paramto totemip_nosigpipe

Fixes compilation on (at least) FreeBSD.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Jan Friesse 7 tahun lalu
induk
melakukan
31268cc744
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      exec/totemudpu.c

+ 1 - 1
exec/totemudpu.c

@@ -794,7 +794,7 @@ static int totemudpu_build_local_sockets(
 	}
 	}
 
 
 	for (i = 0; i < 2; i++) {
 	for (i = 0; i < 2; i++) {
-		totemip_nosigpipe (sockets->local_loop_sock[i]);
+		totemip_nosigpipe (instance->local_loop_sock[i]);
 		res = fcntl (instance->local_loop_sock[i], F_SETFL, O_NONBLOCK);
 		res = fcntl (instance->local_loop_sock[i], F_SETFL, O_NONBLOCK);
 		if (res == -1) {
 		if (res == -1) {
 			LOGSYS_PERROR (errno, instance->totemudpu_log_level_warning,
 			LOGSYS_PERROR (errno, instance->totemudpu_log_level_warning,