Skip to content

Commit 432ff74

Browse files
committed
Add missing ;
Signed-off-by: San Zhang <[email protected]>
1 parent 1081311 commit 432ff74

File tree

1 file changed

+2
-2
lines changed
  • crates/shadowsocks/src/net/sys/unix/linux

1 file changed

+2
-2
lines changed

crates/shadowsocks/src/net/sys/unix/linux/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl TcpStream {
7070
}
7171

7272
if let Some(ref protector) = opts.vpn_socket_protector {
73-
protector.protect(socket.as_raw_fd())
73+
protector.protect(socket.as_raw_fd());
7474
}
7575
}
7676

@@ -350,7 +350,7 @@ pub async fn bind_outbound_udp_socket(bind_addr: &SocketAddr, config: &ConnectOp
350350
}
351351

352352
if let Some(ref protector) = config.vpn_socket_protector {
353-
protector.protect(socket.as_raw_fd())
353+
protector.protect(socket.as_raw_fd());
354354
}
355355
}
356356

0 commit comments

Comments
 (0)