Renamed CHECK_USER_ADDRESS() to IS_USER_ADDRESS() to make its function more clear.
Added our license to the updated source files. Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6672 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
/* This file contains the debugger */
|
||||
|
||||
/*
|
||||
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved.
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
*/
|
||||
|
||||
/*
|
||||
** Copyright 2001, Travis Geiselbrecht. All rights reserved.
|
||||
** Distributed under the terms of the NewOS License.
|
||||
@@ -531,7 +536,7 @@ _user_debug_output(const char *userString)
|
||||
if (!sSerialDebugEnabled)
|
||||
return;
|
||||
|
||||
if (!CHECK_USER_ADDRESS(userString)
|
||||
if (!IS_USER_ADDRESS(userString)
|
||||
|| user_strlcpy(string, userString, sizeof(string)) < B_OK)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user