svn commit: samba r12368 - in trunk/source/lib: .
vlendec at samba.org
vlendec at samba.org
Mon Dec 19 21:02:16 GMT 2005
Author: vlendec
Date: 2005-12-19 21:02:14 +0000 (Mon, 19 Dec 2005)
New Revision: 12368
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12368
Log:
Reformatting
Modified:
trunk/source/lib/system_smbd.c
Changeset:
Modified: trunk/source/lib/system_smbd.c
===================================================================
--- trunk/source/lib/system_smbd.c 2005-12-19 20:37:55 UTC (rev 12367)
+++ trunk/source/lib/system_smbd.c 2005-12-19 21:02:14 UTC (rev 12368)
@@ -52,7 +52,7 @@
for ( i=1; i<count; ) {
if ( groups[i-1] == groups[i] ) {
- memmove( &groups[i-1], &groups[i], (count - i + 1)*sizeof(gid_t) );
+ memmove(&groups[i-1], &groups[i], (count - i + 1)*sizeof(gid_t));
/* decrement the total number of groups and do not increment
the loop counter */
@@ -79,7 +79,8 @@
NOTE!! this function only works if it is called as root!
*/
-static int getgrouplist_internals(const char *user, gid_t gid, gid_t *groups, int *grpcnt)
+static int getgrouplist_internals(const char *user, gid_t gid, gid_t *groups,
+ int *grpcnt)
{
gid_t *gids_saved;
int ret, ngrp_saved, num_gids;
@@ -169,11 +170,11 @@
/* see if we should disable winbindd lookups for local users */
if (strchr(user, *lp_winbind_separator()) == NULL) {
if ( !winbind_off() )
- DEBUG(0,("sys_getgroup_list: Insufficient environment space for %s\n",
- WINBINDD_DONT_ENV));
+ DEBUG(0,("sys_getgroup_list: Insufficient environment space "
+ "for %s\n", WINBINDD_DONT_ENV));
else
- DEBUG(10,("sys_getgrouplist(): disabled winbindd for group lookup [user == %s]\n",
- user));
+ DEBUG(10,("sys_getgrouplist(): disabled winbindd for group "
+ "lookup [user == %s]\n", user));
}
#ifdef HAVE_GETGROUPLIST
More information about the samba-cvs
mailing list