Skip to content

Commit

Permalink
[mDNS] - Converted between FQDN's and URL's way too much, searching i…
Browse files Browse the repository at this point in the history
…s by name now instead of URL's.
  • Loading branch information
jelledevleeschouwer committed May 23, 2015
1 parent 25cb30b commit dbf52a5
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 197 deletions.
2 changes: 1 addition & 1 deletion modules/pico_dns_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ pico_dns_url_to_qname( const char *url )

/* Change to DNS notation */
qname[0] = '.'; /* Don't want strlen to give a wrong length */
pico_dns_name_to_dns_notation(qname, strlen(qname) + 1);
pico_dns_name_to_dns_notation(qname, strlen(qname));

return qname;
}
Expand Down
Loading

0 comments on commit dbf52a5

Please sign in to comment.