|
@@ -114,7 +114,7 @@ static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReach
|
|
|
SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithName(NULL, [hostName UTF8String]);
|
|
|
if (reachability != NULL)
|
|
|
{
|
|
|
- returnValue= [[self alloc] init];
|
|
|
+ returnValue= [[Reachability alloc] init];
|
|
|
if (returnValue != NULL)
|
|
|
{
|
|
|
returnValue->reachabilityRef = reachability;
|
|
@@ -133,7 +133,7 @@ static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReach
|
|
|
|
|
|
if (reachability != NULL)
|
|
|
{
|
|
|
- returnValue = [[self alloc] init];
|
|
|
+ returnValue = [[Reachability alloc] init];
|
|
|
if (returnValue != NULL)
|
|
|
{
|
|
|
returnValue->reachabilityRef = reachability;
|