aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_mkquery.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-08-03 08:45:19 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-08-03 08:45:19 +0000
commit781b82baf5e481964d67971848e4f363915ef789 (patch)
treee17ecd20371c491bb96ab7b548353bd2a9746b45 /ares/ares_mkquery.3
parent2838362a7ba5fdf69e0207d2eb5f970632fd9d44 (diff)
Reverted the zero-byte-in-name check to instead rely on the fact that strlen
and the name length differ in those cases and thus leave the matching function unmodified from before, as the matching functions never have to bother with the zero bytes in legitimate cases. Peter Sylvester helped me realize that this fix is slightly better as it leaves more code unmodified and makes the detection a bit more obvious in the code.
Diffstat (limited to 'ares/ares_mkquery.3')
0 files changed, 0 insertions, 0 deletions