Permalink
Browse files

Fix build break (missing TDBase64.h)

Build was broken by previous commit 78c20bd.
Replace use of TDBase64 (which exists in Syncpoint but not the other branches) with RESTBase64.

Change-Id: Ic155d8e9761e244a8cdcc0a00982d1ad98ec8caa
  • Loading branch information...
1 parent 78c20bd commit 863d6764c2110254b370fdda1efef5d1019fe893 @snej snej committed Apr 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 REST/RESTResource.m
View
@@ -17,7 +17,7 @@
#import "RESTInternal.h"
#import "RESTCache.h"
-#import "TDBase64.h"
+#import "RESTBase64.h"
@implementation RESTResource
@@ -170,7 +170,7 @@ - (NSMutableURLRequest*) requestWithMethod: (NSString*)method
NSString* password = [request.URL password];
if (username && password) {
NSString *creds = [NSString stringWithFormat:@"%@:%@", username, password];
- creds = [TDBase64 encode: [creds dataUsingEncoding:NSUTF8StringEncoding]];
+ creds = [RESTBase64 encode: [creds dataUsingEncoding:NSUTF8StringEncoding]];
[request addValue:[NSString stringWithFormat:@"Basic %@", creds] forHTTPHeaderField:@"Authorization"];
}

0 comments on commit 863d676

Please sign in to comment.