Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ServerDefaultPage: Enhancement: Only trigger listener if status is en…
…abled
- Loading branch information
Ninos Ego
committed
Mar 19, 2016
1 parent
ca3d4f8
commit c555e0b
Showing
3 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Ninos
No need to return 0 here. Expression result from above line will return 0 on success, other on failure. By returning 0 explicitely here, any error occurring during listener regisration would be hidden...