Commit 30874543 authored by agl@chromium.org's avatar agl@chromium.org

Break labels apart in preloaded list.

Since the hosts are stored in DNS wire format (with length-prefixed labels),
any labels that start with a digit cause an escape like "\0071..." (that's
length=7, first byte of the label = "1"). But this causes a warning in Visual
Studio and breaks the build.

This change splits the length bytes from the labels so that this warning
doesn't happen.

BUG=none
R=palmer@chromium.org

Review URL: https://codereview.chromium.org/456853002

Cr-Commit-Position: refs/heads/master@{#288443}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288443 0039d316-1c4b-4281-b951-d872f2087c98
parent e5c2775c
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment