mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Use nil instead of 0. Fix pointer style.
This commit is contained in:
1 parent
117716da9e
commit
ff342f1e5b
1 file changed
+2
-2
@@ -138,7 +138,7 @@
|
||||
assert(_dataToWrite != nil);
|
||||
if (_numBytesToWrite == 0) {
|
||||
// nothing more to write, we're done.
|
||||
_dataToWrite = 0;
|
||||
_dataToWrite = nil;
|
||||
_numBytesToWrite = -1;
|
||||
} else if (_outputStream.hasSpaceAvailable) {
|
||||
[self writeNow];
|
||||
@@ -165,7 +165,7 @@
|
||||
|
||||
@interface SUTestWebServer () <SUTestWebServerConnectionDelegate> {
|
||||
NSMutableArray *_connections;
|
||||
NSString* _workingDirectory;
|
||||
NSString *_workingDirectory;
|
||||
CFSocketRef _socket;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user