mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Apply style guide rules to the remaining classes
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
@implementation OpenVPNPacket
|
||||
|
||||
- (instancetype)initWithVPNData:(NSData *)data {
|
||||
if ((self = [super init])) {
|
||||
if (self = [super init]) {
|
||||
#if TARGET_OS_IPHONE
|
||||
// Get network protocol family from data prefix
|
||||
NSUInteger prefix_size = sizeof(uint32_t);
|
||||
@@ -59,7 +59,7 @@
|
||||
}
|
||||
|
||||
- (instancetype)initWithPacketFlowData:(NSData *)data protocolFamily:(NSNumber *)protocolFamily {
|
||||
if ((self = [super init])) {
|
||||
if (self = [super init]) {
|
||||
_data = data;
|
||||
_protocolFamily = protocolFamily;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user