Skip to content

Commit

Permalink
Uncomment salg_type from socket_alg debug_struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Gleb Pomykalov committed Feb 19, 2019
1 parent 34c96d7 commit c35d8fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/unix/notbsd/android/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ cfg_if! {
fn fmt(&self, f: &mut ::fmt::Formatter) -> ::fmt::Result {
f.debug_struct("sockaddr_alg")
.field("salg_family", &self.salg_family)
// .field("salg_type", &self.salg_type)
.field("salg_type", &self.salg_type)
.field("salg_feat", &self.salg_feat)
.field("salg_mask", &self.salg_mask)
// .field("salg_name", &self.salg_name)
Expand Down
2 changes: 1 addition & 1 deletion src/unix/notbsd/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ cfg_if! {
fn fmt(&self, f: &mut ::fmt::Formatter) -> ::fmt::Result {
f.debug_struct("sockaddr_alg")
.field("salg_family", &self.salg_family)
// .field("salg_type", &self.salg_type)
.field("salg_type", &self.salg_type)
.field("salg_feat", &self.salg_feat)
.field("salg_mask", &self.salg_mask)
// .field("salg_name", &self.salg_name)
Expand Down

0 comments on commit c35d8fb

Please sign in to comment.