Re: [B.A.T.M.A.N.] [PATCH] batctl: optchar variable uses wrong type

2016-09-15 Thread Sven Eckelmann
On Donnerstag, 15. September 2016 10:41:00 CEST Andreas Pape wrote: > The variable "optchar" used char instead of int leading to a non > working batctl tp command as the while loop parsing the tp > arguments with the getopt command is only left via the "default" > case leaving the tp subcommand unu

[B.A.T.M.A.N.] [PATCH] batctl: optchar variable uses wrong type

2016-09-15 Thread Andreas Pape
The variable "optchar" used char instead of int leading to a non working batctl tp command as the while loop parsing the tp arguments with the getopt command is only left via the "default" case leaving the tp subcommand unusable. Using type char also lead to a compiler warning. Signed-off-by: Andr