Use spaces for indentation, not tabs.
[gnulib.git] / lib / write.c
index 5f0131d..24cc25c 100644 (file)
@@ -46,14 +46,14 @@ rpl_write (int fd, const void *buf, size_t count)
   if (ret < 0)
     {
       if (GetLastError () == ERROR_NO_DATA
-         && GetFileType ((HANDLE) _get_osfhandle (fd)) == FILE_TYPE_PIPE)
-       {
-         /* Try to raise signal SIGPIPE.  */
-         raise (SIGPIPE);
-         /* If it is currently blocked or ignored, change errno from EINVAL
-            to EPIPE.  */
-         errno = EPIPE;
-       }
+          && GetFileType ((HANDLE) _get_osfhandle (fd)) == FILE_TYPE_PIPE)
+        {
+          /* Try to raise signal SIGPIPE.  */
+          raise (SIGPIPE);
+          /* If it is currently blocked or ignored, change errno from EINVAL
+             to EPIPE.  */
+          errno = EPIPE;
+        }
     }
   return ret;
 }