Cleanup.
This commit is contained in:
@@ -91,8 +91,8 @@ bool CrashHandler::IsDebuggerPresent()
|
|||||||
info.kp_proc.p_flag = 0;
|
info.kp_proc.p_flag = 0;
|
||||||
|
|
||||||
// Call sysctl.
|
// Call sysctl.
|
||||||
size = sizeof(info);
|
size = sizeof( info );
|
||||||
ret = sysctl(mib, sizeof(mib) / sizeof(*mib), &info, &size, NULL, 0);
|
ret = sysctl( mib, sizeof(mib)/sizeof(*mib), &info, &size, NULL, 0 );
|
||||||
|
|
||||||
// We're being debugged if the P_TRACED flag is set.
|
// We're being debugged if the P_TRACED flag is set.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user