Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 805 → Rev 806

/iKopter/trunk/Classes/Hosts/MKHosts.m
70,8 → 70,15
[hosts addObject:h];
[h release];
h = [[MKHost alloc]init];
h.name = @"Quadkopter Serproxy";
h.address = @"127.0.0.1";
h.port = 64400;
h.connectionClass = @"MKIpConnection";
[hosts addObject:h];
[h release];
 
 
[self save];
}
}
/iKopter/trunk/Classes/Communication/MKConnectionController.m
317,7 → 317,7
 
- (void) didReadMkData:(NSData *)data {
NSData * strData = [data subdataWithRange:NSMakeRange(1, [data length] - 1)];
NSData * strData = [data subdataWithRange:NSMakeRange(0, [data length] - 1)];
 
NSString * msg = [[[NSString alloc] initWithData:strData encoding:NSASCIIStringEncoding] autorelease];
DLog(@">>%@<<", msg);