diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-08-03 08:45:19 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-08-03 08:45:19 +0000 |
commit | 781b82baf5e481964d67971848e4f363915ef789 (patch) | |
tree | e17ecd20371c491bb96ab7b548353bd2a9746b45 /ares | |
parent | 2838362a7ba5fdf69e0207d2eb5f970632fd9d44 (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')
0 files changed, 0 insertions, 0 deletions