Permalink
Browse files

Fixing build errors

  • Loading branch information...
1 parent 28fd3bd commit 0bd4bf9fbefa0777358cbb7a015b91ecbee11597 @mikelikespie mikelikespie committed Sep 25, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 ObjC/PonyDebugger/PDDebugger.m
  2. +1 −1 ObjC/PonyDebugger/PDNetworkDomainController.m
@@ -109,7 +109,7 @@ - (void)webSocketDidOpen:(SRWebSocket *)webSocket;
if (appIconFile) {
UIImage *appIcon = [UIImage imageNamed:appIconFile];
if (appIcon) {
- NSString *base64IconString = [UIImagePNGRepresentation(appIcon) SR_stringByBase64Encoding];
+ NSString *base64IconString = UIImagePNGRepresentation(appIcon).PD_stringByBase64Encoding;
[parameters setObject:base64IconString forKey:@"app_icon_base64"];
}
}
@@ -386,7 +386,7 @@ - (void)domain:(PDNetworkDomain *)domain getResponseBodyWithRequestId:(NSString
- (void)setResponse:(NSData *)response forRequestID:(NSString *)requestID isBinary:(BOOL)isBinary;
{
NSString *encodedBody = isBinary ?
- response.SR_stringByBase64Encoding :
+ response.PD_stringByBase64Encoding :
[[NSString alloc] initWithData:response encoding:NSUTF8StringEncoding];
NSDictionary *responseDict = [NSDictionary dictionaryWithObjectsAndKeys:

0 comments on commit 0bd4bf9

Please sign in to comment.