Skip to content

Commit 7c2c483

Browse files
committed
Clean up code formatting.
1 parent 3f2d8f6 commit 7c2c483

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

scheduler/auth.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2004,8 +2004,9 @@ cupsdIsAuthorized(cupsd_client_t *con, /* I - Connection */
20042004
name;
20052005
name = (char *)cupsArrayNext(best->names))
20062006
{
2007-
if (!_cups_strcasecmp(name, "@OWNER") && owner && ((pw &&
2008-
!strcmp(pw->pw_name, ownername)) || (!pw && type == CUPSD_AUTH_NONE && !_cups_strcasecmp(username, ownername))))
2007+
if (!_cups_strcasecmp(name, "@OWNER") && owner &&
2008+
((pw && !strcmp(pw->pw_name, ownername)) ||
2009+
(!pw && type == CUPSD_AUTH_NONE && !_cups_strcasecmp(username, ownername))))
20092010
return (HTTP_STATUS_OK);
20102011
else if (!_cups_strcasecmp(name, "@SYSTEM"))
20112012
{

0 commit comments

Comments
 (0)