Check actually the return values and bail out if the registration to receive system events failed. Reformat the code to be consistent wrt tabs vs. space use. Extract frequently used patterns into an inline function.
Check actually the return values and bail out if the registration to receive system events failed. Reformat the code to be consistent wrt tabs vs. space use. Extract frequently used patterns into an inline function.