mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Merge pull request #16 from tamasprezi/master
Fixed typo that caused crashes in BinaryDelta
This commit is contained in:
commit
8a45304d55
1 file changed
+1
-1
@@ -43,7 +43,7 @@ NSString *temporaryFilename(NSString *base)
|
||||
NSString *template = [NSTemporaryDirectory() stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.XXXXXXXXXX", base]];
|
||||
char buffer[MAXPATHLEN];
|
||||
strcpy(buffer, [template fileSystemRepresentation]);
|
||||
return [NSString stringWithUTF8String:mkstemp(buffer)];
|
||||
return [NSString stringWithUTF8String:mktemp(buffer)];
|
||||
}
|
||||
|
||||
static void _hashOfBuffer(unsigned char *hash, const char* buffer, size_t bufferLength)
|
||||
|
||||
Reference in new issue
Block a user