Turn off debug in getsockname.c

allow NULL for setgroups argument
This commit is contained in:
Ben Gras 2006-02-15 14:16:06 +00:00
parent c3a88d15d8
commit 1116853ae9
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@
#include <net/gen/udp_io.h>
#define DEBUG 1
#define DEBUG 0
/*
getsockname...

View file

@ -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;