Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,8 @@ -(instancetype)initWithURL:(NSURL *)url append:(BOOL)shouldAppend

-(instancetype)initWithAccessCondition:(AZSAccessCondition *)accessCondition requestOptions:(AZSBlobRequestOptions *)requestOptions operationContext:(AZSOperationContext *)operationContext
{
// A designated initializer must make a super call to a designated initializer of the super class.
uint8_t temp;
self = [super initToBuffer:&temp capacity:0];
// A super call to a designated initializer of the super class leads to a crash in iOS 7 or 8.
self = [super init];
if (self)
{
_isStreamOpen = NO;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ -(void)logAtLevel:(AZSLogLevel)logLevel withMessage:(NSString *)stringToLog,...
{
return;
}

/*
va_list args;
va_start(args, stringToLog);
NSString *finalLogString;
Expand Down Expand Up @@ -181,6 +181,8 @@ -(void)logAtLevel:(AZSLogLevel)logLevel withMessage:(NSString *)stringToLog,...
}

va_end(args); // Free the memory used for args.

*/
}

-(NSArray *)requestResults
Expand All @@ -193,4 +195,4 @@ -(void)addRequestResult:(AZSRequestResult *)requestResultToAdd
[_requestResults addObject:requestResultToAdd];
}

@end
@end