ka9q / ka9q-radio

Multichannel SDR based on fast convolution and IP multicasting
GNU General Public License v3.0
165 stars 38 forks source link

Terminate longopts arrays #16

Closed argilo closed 2 years ago

argilo commented 2 years ago

The "tune" and "setfilt" programs currently crash if an invalid command line argument is given (e.g. tune --foo or setfilt --foo). This happens because the longopts arrays passed into getopt_long are not terminated. I've added the missing terminations here.