kcc added a comment.
I am not sure this is going to work.
You essentially break on the first iteration in the beginning of the loop.
Why not exit the function before the loop?
Also, the loop "claims" the args and by breaking early you leave the args
I don't remember this code well enough to argue about it w/o tests. :(
cfe-commits mailing list