Use spaces for indentation, not tabs.
[gnulib.git] / lib / idcache.c
index 4951873..00b8078 100644 (file)
@@ -73,10 +73,10 @@ getuser (uid_t uid)
   for (tail = user_alist; tail; tail = tail->next)
     {
       if (tail->id.u == uid)
-       {
-         match = tail;
-         break;
-       }
+        {
+          match = tail;
+          break;
+        }
     }
 
   if (match == NULL)
@@ -123,7 +123,7 @@ getuidbyname (const char *user)
   if (!pwent && strspn (user, digits) < strlen (user))
     {
       setenv ("USER", user, 1);
-      pwent = getpwnam (user); /* now it will succeed */
+      pwent = getpwnam (user);  /* now it will succeed */
     }
 #endif
 
@@ -155,10 +155,10 @@ getgroup (gid_t gid)
   for (tail = group_alist; tail; tail = tail->next)
     {
       if (tail->id.g == gid)
-       {
-         match = tail;
-         break;
-       }
+        {
+          match = tail;
+          break;
+        }
     }
 
   if (match == NULL)
@@ -205,7 +205,7 @@ getgidbyname (const char *group)
   if (!grent && strspn (group, digits) < strlen (group))
     {
       setenv ("GROUP", group, 1);
-      grent = getgrnam (group);        /* now it will succeed */
+      grent = getgrnam (group); /* now it will succeed */
     }
 #endif