-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Again, multiple changes to improve overall code quality:
- Instead of checking whether a path is relative or absolute, try to interpret the actual type in a separate fuction. - A new module state, MSTATE_INITIALIZE, has been added. This state is for code that is only supposed to run once, instead of every run. This replaces the moduleData->initialised flag that i put in earlier. - the connect() method (medusaConnect or medusaConnectSSL) is chosen only once, instead of every cycle. - Fixed an error in the default switch(nState) case where the state was not set to MSTATE_EXITING after encountering an unknown module state.
- Loading branch information
Martijn Fleuren
committed
Oct 4, 2024
1 parent
36f8fee
commit 786fd46
Showing
1 changed file
with
114 additions
and
80 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