From e744f09a06626e46c4ced7a7c742e51a51550b4d Mon Sep 17 00:00:00 2001 From: Massimo Nicolardi Date: Tue, 1 Sep 2015 12:14:59 +0200 Subject: [PATCH] Fix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6451b44..cb331b2 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ STOMPClient *client = [[STOMPClient alloc] initWithHost:@"localhost" [client connectWithLogin:@"mylogin" passcode:@"mypassword" completionHandler:^(STOMPFrame *_, NSError *error) { - if (err) { + if (error) { NSLog(@"%@", error); return; } @@ -66,7 +66,7 @@ STOMPClient *client = [[STOMPClient alloc] initWithHost:@"localhost" [client connectWithLogin:@"mylogin" passcode:@"mypassword" completionHandler:^(STOMPFrame *_, NSError *error) { - if (err) { + if (error) { NSLog(@"%@", error); return; }