Skip to content

Replaced strtoul() using NULL arguments with atol() in wodles' config files.#2801

Merged
chemamartinez merged 3 commits into3.9from
fix_docker_listener
Mar 18, 2019
Merged

Replaced strtoul() using NULL arguments with atol() in wodles' config files.#2801
chemamartinez merged 3 commits into3.9from
fix_docker_listener

Conversation

@yasma-cif
Copy link
Copy Markdown
Contributor

@yasma-cif yasma-cif commented Mar 12, 2019

strtoul() was causing some issues (specially in the docker wodle), as it was reading characters as numeric values, causing unexpected behaviour. The solution was replacing it with atol(), which only reads numeric values.

This PR fixes the issue #2768

@yasma-cif yasma-cif requested a review from chemamartinez March 12, 2019 09:50
@chemamartinez
Copy link
Copy Markdown
Contributor

It has been added a commit (f8b8521) for not accepting negative values at intervals and timeouts when reading the configuration. It also allows starting some modules when setting an interval lower than 60 seconds, by overwriting the interval value to the lowest one valid instead of stopping the execution.

@chemamartinez chemamartinez merged commit f5326f7 into 3.9 Mar 18, 2019
@chemamartinez chemamartinez deleted the fix_docker_listener branch March 18, 2019 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants