dbus-launch: convert C++-style comment to C-style, add {} for clarity
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 10 Oct 2007 12:37:00 +0000 (13:37 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 11 Oct 2007 09:17:17 +0000 (10:17 +0100)
tools/dbus-launch.c

index 80d885f..9f4c94a 100644 (file)
@@ -614,8 +614,10 @@ do_close_stderr (void)
 
   close (2);
   if (dup2 (fd, 2) == -1)
-    // error; we can't report an error anymore...
-    exit (1);
+    {
+      /* error; we can't report an error anymore... */
+      exit (1);
+    }
   close (fd);
 }