aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-01-10 00:10:08 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-01-10 00:10:08 +0000
commit5a541eb959fdf2b27a6d610efe375ec0fc3f85a0 (patch)
tree63e446e3fa43e252f48bff9e53c3787d995ded53
parenta1f37d7e15e391e1973053f8d58f07e4d240f1b4 (diff)
parent4ecab6c30f5ecf6928f5b5c3d76b2421f7f0dbe2 (diff)
downloadopenscreen-android-14.0.0_r52.tar.gz
Change-Id: I84d909ba27eaac0d7deea6ff7624f8a2b41a0dbd
-rw-r--r--platform/impl/network_interface_win.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/impl/network_interface_win.cc b/platform/impl/network_interface_win.cc
index c3095457..165e1dc7 100644
--- a/platform/impl/network_interface_win.cc
+++ b/platform/impl/network_interface_win.cc
@@ -104,8 +104,10 @@ std::vector<InterfaceInfo> GetAllInterfaces() {
}
}
OSP_DVLOG << "\tIfType=" << pcurraddrs->IfType;
- OSP_DVLOG << "\tDescription=" << pcurraddrs->Description;
- OSP_DVLOG << "\tFreindlyName=" << pcurraddrs->FriendlyName;
+ // TODO: Convert the wide strings to the proper narrow encoding (e.g.
+ // UTF-8) rather than print the addresses.
+ OSP_DVLOG << "\tDescription=" << static_cast<void*>(pcurraddrs->Description);
+ OSP_DVLOG << "\tFriendlyName=" << static_cast<void*>(pcurraddrs->FriendlyName);
pcurraddrs = pcurraddrs->Next;
}
return infos;