aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/external-handler.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/mod/external-handler.cxx b/mod/external-handler.cxx
index 4c1a86f..7f26680 100644
--- a/mod/external-handler.cxx
+++ b/mod/external-handler.cxx
@@ -96,14 +96,14 @@ namespace brep
pipe.out.close ();
auto kill = [&pr, &warn, &handler, &ref] ()
- {
- // We may still end up well (see below), thus this is a warning.
- //
- warn << "ref " << ref << ": process " << handler
- << " execution timeout expired";
+ {
+ // We may still end up well (see below), thus this is a warning.
+ //
+ warn << "ref " << ref << ": process " << handler
+ << " execution timeout expired";
- pr.kill ();
- };
+ pr.kill ();
+ };
try
{
@@ -126,7 +126,7 @@ namespace brep
}
timeval tm {wd.count () / 1000 /* seconds */,
- wd.count () % 1000 * 1000 /* microseconds */};
+ wd.count () % 1000 * 1000 /* microseconds */};
fd_set rd;
FD_ZERO (&rd);