Turn off debug in getsockname.c
allow NULL for setgroups argument
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include <net/gen/udp_io.h>
|
||||
|
||||
|
||||
#define DEBUG 1
|
||||
#define DEBUG 0
|
||||
|
||||
/*
|
||||
getsockname...
|
||||
|
||||
@@ -9,7 +9,7 @@ setgroups.c
|
||||
|
||||
int setgroups(int ngroups, const gid_t *gidset)
|
||||
{
|
||||
if(!gidset || ngroups > 1) {
|
||||
if(ngroups > 1) {
|
||||
/* Supplementary groups not implemented */
|
||||
errno= EINVAL;
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user