Commit 636e2c1f authored by Johannes Kanig's avatar Johannes Kanig

minor replace magic constant by named constant

Change-Id: I296e85a9aa76594b51bf045f61df65f2e20e3a35
parent 883af7f6
......@@ -598,7 +598,8 @@ void handle_child_event(pproc child, pclient client, int proc_key, DWORD event)
ull_user.HighPart = ft_user.dwHighDateTime;
cpu_time =
((ull_system.QuadPart + ull_user.QuadPart + 0.0) / 10000000.);
timeout = (exitcode == 1816) || (exitcode == STATUS_QUOTA_EXCEEDED);
timeout = (exitcode == ERROR_NOT_ENOUGH_QUOTA) ||
(exitcode == STATUS_QUOTA_EXCEEDED);
send_msg_to_client(client,
child->id,
exitcode,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment