Turn off debug in getsockname.c
allow NULL for setgroups argument
This commit is contained in:
parent
c3a88d15d8
commit
1116853ae9
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue