diff options
| author | Gergely Nagy <algernon@balabit.hu> | 2012-08-10 12:34:31 +0200 |
|---|---|---|
| committer | Gergely Nagy <algernon@balabit.hu> | 2012-08-10 12:38:14 +0200 |
| commit | d6634ebdd1d631be2f8e6a8aab2f1ca558ea10dd (patch) | |
| tree | ff41285f9981f0512cc0443fec31ad8edd560c73 /debian | |
| parent | 1e3ef078ff10db76cb0a5196d26ad416b5aa1789 (diff) | |
Greatly simplify ul_openlog()
Instead of checking the flags for LOG_UL_NODISCOVER in every branch,
check it once in the beginning for LOG_UL_NODISCOVER | LOG_UL_NOCACHE,
and bail out early.
This greatly improves the readability of the code.
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions
