19.04.2018, 21:03
Could you try to print out the option variable after the first sscanf? Both inside the if statement and outside of it.
Also print out params before the first sscanf and try the same commands again.
Also print out params before the first sscanf and try the same commands again.