Skip to content

Commit d63043f

Browse files
authored
* fix txt records returned as string instead of UInt8List * fix key sent instead of value * fix issue Nimrodda#46 * fix issue Nimrodda#45
1 parent 9731fd9 commit d63043f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

windows/flutter_nsd_plugin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ namespace {
101101
else {
102102
struct hostent* ent = gethostbyname(packet.hostname.c_str());
103103
if (ent == NULL) {
104-
printf("cannot resolve hostname %s, returning IP address %s", packet.hostname.c_str(), packet.ipv4address.c_str());
104+
//printf("cannot resolve hostname %s, returning IP address %s", packet.hostname.c_str(), packet.ipv4address.c_str());
105105
packet.hostname = packet.ipv4address;
106106
}
107107
}
@@ -161,7 +161,7 @@ namespace {
161161
void MdnsRequest::callbackSRV(const void* base, boolean last, STRING_ARG_DECL(name), STRING_ARG_DECL(hostname), int port) {
162162
MAKE_STRING(name);
163163
MAKE_STRING(hostname);
164-
printf("resolved: %s, %s\n\r", _name.c_str(), _hostname.c_str());
164+
//printf("resolved: %s, %s\n\r", _name.c_str(), _hostname.c_str());
165165

166166
MdnsResult& packet = packets[base];
167167
packet.name = _name;

0 commit comments

Comments
 (0)