diff options
author | qsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-12-17 14:48:45 +0000 |
---|---|---|
committer | qsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-12-17 14:48:45 +0000 |
commit | 3d451f31d899389c399ecf3459aa88b0679e057f (patch) | |
tree | 9db78038738f5d3781990da2f49a585e67539d42 /src/client/ios | |
parent | Updating BreakpadController to allow start and stop being nop. (diff) | |
download | breakpad-3d451f31d899389c399ecf3459aa88b0679e057f.tar.xz |
Fix typo.
Review URL: https://breakpad.appspot.com/506002
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1093 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/ios')
-rw-r--r-- | src/client/ios/BreakpadController.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/ios/BreakpadController.mm b/src/client/ios/BreakpadController.mm index ffba9e69..4e69fae2 100644 --- a/src/client/ios/BreakpadController.mm +++ b/src/client/ios/BreakpadController.mm @@ -129,7 +129,7 @@ NSString* GetPlatform() { #pragma mark - - (void)start:(BOOL)onCurrentThread { - if (started) + if (started_) return; started_ = YES; void(^startBlock)() = ^{ @@ -146,7 +146,7 @@ NSString* GetPlatform() { } - (void)stop { - if (!started) + if (!started_) return; started_ = NO; dispatch_sync(queue_, ^{ |