Skip to content

Commit

Permalink
Merge pull request #19 from jmesnil/master
Browse files Browse the repository at this point in the history
Fix cleanSession setting
  • Loading branch information
jmesnil committed Sep 12, 2014
2 parents 2034771 + aaf4a22 commit 2804d63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MQTTKit/MQTTKit.m
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ - (MQTTClient*) initWithClientId: (NSString *)clientId
self.subscriptionHandlers = [[NSMutableDictionary alloc] init];
self.unsubscriptionHandlers = [[NSMutableDictionary alloc] init];
self.publishHandlers = [[NSMutableDictionary alloc] init];
self.cleanSession = cleanSession;

const char* cstrClientId = [self.clientID cStringUsingEncoding:NSUTF8StringEncoding];

Expand Down

0 comments on commit 2804d63

Please sign in to comment.