Skip to content

Commit

Permalink
+ + + 2b6f14c
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Oct 4, 2024
1 parent 23ae7dc commit 81de593
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/rtp.io/rtp_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static struct opt_save {
int optopt;
int opterr;
int optreset;
} opt_save;
} opt_save = {.optind = 1};

#define OPT_SAVE() (opt_save = (struct opt_save){optarg, optind, optopt, opterr, optreset})
#define OPT_RESTORE() ({ \
Expand Down Expand Up @@ -186,9 +186,7 @@ static int mod_init(void)
if (argv == NULL)
goto e1;

#if !defined(__linux__)
OPT_RESTORE();
#endif
rpi_descp->rtpp_cfsp = rtpp_main(argc, argv);
free((void *)argv);
if (rpi_descp->rtpp_cfsp == NULL)
Expand Down

0 comments on commit 81de593

Please sign in to comment.