Skip to content

Commit c35d8fb

Browse files
author
Gleb Pomykalov
committed
Uncomment salg_type from socket_alg debug_struct
1 parent 34c96d7 commit c35d8fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/unix/notbsd/android/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ cfg_if! {
489489
fn fmt(&self, f: &mut ::fmt::Formatter) -> ::fmt::Result {
490490
f.debug_struct("sockaddr_alg")
491491
.field("salg_family", &self.salg_family)
492-
// .field("salg_type", &self.salg_type)
492+
.field("salg_type", &self.salg_type)
493493
.field("salg_feat", &self.salg_feat)
494494
.field("salg_mask", &self.salg_mask)
495495
// .field("salg_name", &self.salg_name)

src/unix/notbsd/linux/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ cfg_if! {
708708
fn fmt(&self, f: &mut ::fmt::Formatter) -> ::fmt::Result {
709709
f.debug_struct("sockaddr_alg")
710710
.field("salg_family", &self.salg_family)
711-
// .field("salg_type", &self.salg_type)
711+
.field("salg_type", &self.salg_type)
712712
.field("salg_feat", &self.salg_feat)
713713
.field("salg_mask", &self.salg_mask)
714714
// .field("salg_name", &self.salg_name)

0 commit comments

Comments
 (0)