Skip to content

Commit

Permalink
fixed deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Feb 14, 2025
1 parent e57cdb3 commit af13b59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dmdServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,10 @@ int main(int argc, char* argv[])
cag_option_context cag_context;
bool opt_wait = false;

cag_option_prepare(&cag_context, options, CAG_ARRAY_SIZE(options), argc, argv);
cag_option_init(&cag_context, options, CAG_ARRAY_SIZE(options), argc, argv);
while (cag_option_fetch(&cag_context))
{
char identifier = cag_option_get(&cag_context);
char identifier = cag_option_get_identifier(&cag_context);
if (identifier == 'c')
{
inih::INIReader r{cag_option_get_value(&cag_context)};
Expand Down

0 comments on commit af13b59

Please sign in to comment.