Fix accidental over-checking of args in launcherXPCService.

llvm-svn: 219895
This commit is contained in:
Jason Molenda 2014-10-16 02:53:57 +00:00
parent 8c5bc1cb5f
commit 42f4c7e720
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ get_args(xpc_object_t message, const char **path, const char ***argsOut, const c
{
return 1;
}
if (path && *path && argsOut && *argsOut)
if (path && argsOut && *argsOut)
{
*path = (*argsOut)[0];
}