"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ZideStore/ZSFrontend/NSObject+ExValues.m" between
opengroupware-5.5rc2.tar.gz and opengroupware-5.5rc3.tar.gz

About: OpenGroupware is a branch of the "traditional" OpenGroupware collaboration system (developed in Objective-C on SOPE). Release candidate.

NSObject+ExValues.m  (opengroupware-5.5rc2):NSObject+ExValues.m  (opengroupware-5.5rc3)
skipping to change at line 357 skipping to change at line 357
destSize += 64; destSize += 64;
dest = NGMallocAtomic(destSize + 1); dest = NGMallocAtomic(destSize + 1);
NSAssert(destSize > 0, @"invalid buffer size .."); NSAssert(destSize > 0, @"invalid buffer size ..");
NSAssert(dest, @"invalid buffer .."); NSAssert(dest, @"invalid buffer ..");
destLength = NGEncodeBase64([self bytes], [self length], destLength = NGEncodeBase64([self bytes], [self length],
dest, destSize, _width); dest, destSize, _width);
if (destLength >= 0) { if (destLength > 0) {
return [NSData dataWithBytesNoCopy:dest length:destLength]; return [NSData dataWithBytesNoCopy:dest length:destLength];
} }
else { else {
NGFree((void *)dest); dest = NULL; NGFree((void *)dest); dest = NULL;
return nil; return nil;
} }
} }
@end /* NSData(Base64) */ @end /* NSData(Base64) */
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS