Skip to content

Commit

Permalink
Fix NSAssert
Browse files Browse the repository at this point in the history
  • Loading branch information
keybuk committed Jun 27, 2011
1 parent cd94b2a commit 051b167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ASIHTTPRequest+OAuth.m
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ - (NSArray *)oauthGenerateTimestampAndNonce

- (NSString *)oauthBaseStringURI
{
NSAssert([self.url host] != nil, @"URL host missing: %@", [self.url absoluteString]);
NSAssert1([self.url host] != nil, @"URL host missing: %@", [self.url absoluteString]);

// Port need only be present if it's not the default
NSString *hostString;
Expand Down

0 comments on commit 051b167

Please sign in to comment.