Merge branch 'master' of git.linphone.org:linphone-iphone

This commit is contained in:
Ghislain MARY 2013-03-19 12:11:44 +01:00
commit 047fcd7107
3 changed files with 473 additions and 517 deletions

View file

@ -115,7 +115,7 @@
now lets create the body of the post
*/
NSMutableData *body = [NSMutableData data];
NSString *imageName = [NSString stringWithFormat:@"%i.jpg", [image hash]];
NSString *imageName = [NSString stringWithFormat:@"%i-%f.jpg", [image hash],[NSDate timeIntervalSinceReferenceDate]];
[body appendData:[[NSString stringWithFormat:@"\r\n--%@\r\n",boundary] dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[[NSString stringWithFormat:@"Content-Disposition: form-data; name=\"userfile\"; filename=\"%@\"\r\n",imageName] dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[@"Content-Type: application/octet-stream\r\n\r\n" dataUsingEncoding:NSUTF8StringEncoding]];

File diff suppressed because it is too large Load diff

@ -1 +1 @@
Subproject commit ca0954460e11090b2f7be8e62654fdc5c90da86d
Subproject commit 2048bac55a33458b4c0a85c9b79f5679045ae252