Index: main.c =================================================================== RCS file: /cvsroot/ser/sip_router/main.c,v retrieving revision 1.168 diff -u -r1.168 main.c --- main.c 2003/10/12 15:09:08 1.168 +++ main.c 2003/11/26 23:34:48 @@ -1523,7 +1523,7 @@ } } if (group){ - gid=strtol(user, &tmp, 10); + gid=strtol(group, &tmp, 10); if ((tmp==0) ||(*tmp)){ /* maybe it's a string */ gr_entry=getgrnam(group);