Fix typo from r1079.

TBR=digit
Review URL: https://breakpad.appspot.com/496002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1080 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
thestig@chromium.org 2012-11-13 02:58:56 +00:00
parent 81885eea47
commit bbcdd7711f

View file

@ -1253,7 +1253,7 @@ class MinidumpWriter {
my_strlcpy(vendor_id, value, sizeof(vendor_id));
// we don't want the trailing newline
if (length < sizeof(vendor_id) && vendor_id[length - 1] == '\n')
vendor_id[length - 1] == '\0';
vendor_id[length - 1] = '\0';
}
}