applets.c: fix indentation
This commit is contained in:
@@ -62,15 +62,15 @@ static struct BB_suid_config
|
|||||||
static int suid_cfg_readable;
|
static int suid_cfg_readable;
|
||||||
|
|
||||||
/* check if u is member of group g */
|
/* check if u is member of group g */
|
||||||
static int ingroup (uid_t u, gid_t g)
|
static int ingroup(uid_t u, gid_t g)
|
||||||
{
|
{
|
||||||
struct group *grp = getgrgid (g);
|
struct group *grp = getgrgid(g);
|
||||||
|
|
||||||
if (grp) {
|
if (grp) {
|
||||||
char **mem;
|
char **mem;
|
||||||
|
|
||||||
for (mem = grp->gr_mem; *mem; mem++) {
|
for (mem = grp->gr_mem; *mem; mem++) {
|
||||||
struct passwd *pwd = getpwnam (*mem);
|
struct passwd *pwd = getpwnam(*mem);
|
||||||
|
|
||||||
if (pwd && (pwd->pw_uid == u))
|
if (pwd && (pwd->pw_uid == u))
|
||||||
return 1;
|
return 1;
|
||||||
@@ -426,7 +426,7 @@ static const char *unpack_usage_messages(void)
|
|||||||
#define unpack_usage_messages() usage_messages
|
#define unpack_usage_messages() usage_messages
|
||||||
#endif /* ENABLE_FEATURE_COMPRESS_USAGE */
|
#endif /* ENABLE_FEATURE_COMPRESS_USAGE */
|
||||||
|
|
||||||
void bb_show_usage (void)
|
void bb_show_usage(void)
|
||||||
{
|
{
|
||||||
if (ENABLE_SHOW_USAGE) {
|
if (ENABLE_SHOW_USAGE) {
|
||||||
const char *format_string;
|
const char *format_string;
|
||||||
|
|||||||
Reference in New Issue
Block a user