summaryrefslogtreecommitdiff
path: root/examples/OS/Process/imore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/OS/Process/imore.cpp')
-rw-r--r--examples/OS/Process/imore.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/OS/Process/imore.cpp b/examples/OS/Process/imore.cpp
index 6c01734dbc6..09c841e2569 100644
--- a/examples/OS/Process/imore.cpp
+++ b/examples/OS/Process/imore.cpp
@@ -92,12 +92,14 @@ setup_named_pipes (ACE_Process_Options &opt)
// Create a unique temporary name for named pipe.
char *rendezvous = ACE_OS::tempnam (rendezvous_dir,
rendezvous_pfx);
- if (rendezvous == NULL) // out of memory?
+
+ // Out of memory?
+ if (rendezvous == NULL)
return -1;
- // Alright, this is indeed strange. Named pipes are meant to
- // be used for unrelated processes. Because of the constraints
- // in ACE_Process, I have to pre-open the named pipes here.
+ // Alright, this is indeed strange. Named pipes are meant to be
+ // used for unrelated processes. Because of the constraints in
+ // ACE_Process, I have to pre-open the named pipes here.
ACE_FIFO_Recv rfifo; // read end fifo.
ACE_FIFO_Send wfifo; // write end fifo.