Hi, On Mon, Aug 19, 2013 at 09:46:28PM +0530, Sourav Poddar wrote: > >>+ } else if (wlen == 32) { > >if else if else if else if .... this looks like a switch to me. I know > >someone else commented that switch wasn't the best construct, but to my > >eyes, switch looks a lot cleaner. > > > My previous switch implementation was implemented as a seperate > function, as a result of which there was the need to pass pointers, other > variables, then collect it as a double pointer, making things a bit untidy. > > What I can do is to convert these portion into switch here itself, > which will > make the code a lot more cleaner. ? perhaps, at least to me it looks cleaner. -- balbi
Attachment:
signature.asc
Description: Digital signature