diff options
author | thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-11-13 02:58:56 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-11-13 02:58:56 +0000 |
commit | bbcdd7711f6e480c5eb31aeacc8a150fba24db49 (patch) | |
tree | 9dc1b1ac91ae3c71be75569fb1c2369b728bd340 /src | |
parent | Linux: Avoid truncating the vendor id. (diff) | |
download | breakpad-bbcdd7711f6e480c5eb31aeacc8a150fba24db49.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/client/linux/minidump_writer/minidump_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/linux/minidump_writer/minidump_writer.cc b/src/client/linux/minidump_writer/minidump_writer.cc index 4167b1bc..73161628 100644 --- a/src/client/linux/minidump_writer/minidump_writer.cc +++ b/src/client/linux/minidump_writer/minidump_writer.cc @@ -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'; } } |