From bbcdd7711f6e480c5eb31aeacc8a150fba24db49 Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Tue, 13 Nov 2012 02:58:56 +0000 Subject: [PATCH] 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 --- src/client/linux/minidump_writer/minidump_writer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } }